All Integrations

Android Gateway App – Send a Single SMS

Send one SMS through an online Android phone and SMS-enabled SIM using the Libwana.Net API.

Android Gateway App – Send a Single SMS

Send a Single SMS Using the Android Gateway App

Send a single SMS from your application, CRM, website, or backend system through an Android phone connected to Libwana.Net

Before sending messages, get your API key from User Panel → Communication → API and keep it securely on your server.

Connect the Libwana.Net Android Gateway App under Gateway → SMS → Android.

The Android device must remain online, the Libwana.Net Gateway App session must stay connected, and the phone must have an active SMS-enabled SIM.

How it works: Your application calls the Libwana.Net SMS API using method: android. The connected Android phone then performs the actual SMS sending through its SIM.

API Endpoint

POST https://libwana.net/api/sms/send

Required Headers

Api-key YOUR_API_KEY
Accept application/json
Content-Type application/json

Windows CMD Example

cURL
curl.exe -X POST "https://libwana.net/api/sms/send" -H "Api-key: YOUR_API_KEY" -H "Accept: application/json" -H "Content-Type: application/json" --data-raw "{\"method\":\"android\",\"contact\":[{\"number\":\"15551234567\",\"message\":\"Hello Alex, your order is ready.\",\"sms_type\":\"plain\"}]}"

Request Fields

Field Description
method Use android to send through your connected Android Gateway App.
contact An array containing the recipient information.
number Recipient phone number including the appropriate country code.
message The SMS text you want to send.
sms_type Use plain for a standard text SMS.

Android Gateway Requirements

Keep the Android phone powered on and connected to the internet.

Keep the Libwana.Net Android Gateway App session active and connected.

The Android phone must contain an active SIM that can send SMS messages.

Carrier charges, SMS limits, device availability, and your Libwana.Net plan limits may apply.

Important

If the connected Android device is offline or the gateway session is disconnected, the phone may not be able to send the SMS.

Using It With Your Application or CRM

Trigger the API request from your application's backend or workflow and map the customer's phone number and message into the contact array.

Security Notice

Do not expose your Libwana.Net API key in frontend or browser JavaScript.

Your application should prevent duplicate events, respect recipient consent, and handle API errors appropriately.

Check Message Status

After sending, use the returned message ID to check the SMS status.

GET /api/get/sms/MESSAGE_ID

Include your Api-key and Accept: application/json headers when checking the status.

An accepted API request does not confirm final SMS delivery. Check the returned message ID and dispatch logs for the final status.

Ready to send SMS from your Android phone?

Connect your Android Gateway App and use your Libwana.Net API key.

Get API Key