Send a Single WhatsApp Message Using Node
Send one WhatsApp text message from your application, CRM, website, or backend system through a connected Libwana.Net WhatsApp Node device.
Before sending, get your API key from User Panel → Communication → API and keep it securely on your server.
Connect an active and accessible WhatsApp Node device to your Libwana.Net account before making the API request.
message field.
If you have several Node gateways, you may specify the
Libwana.Net UID using a top-level gateway_identifier.
If no gateway UID is supplied, the preferred or default accessible Node gateway is selected.
API Endpoint
https://libwana.net/api/whatsapp/send
Required Headers
YOUR_API_KEY
application/json
application/json
Windows CMD Example
curl.exe -X POST "https://libwana.net/api/whatsapp/send" -H "Api-key: YOUR_API_KEY" -H "Accept: application/json" -H "Content-Type: application/json" --data-raw "{\"method\":\"node\",\"contact\":[{\"number\":\"15551234567\",\"message\":\"Hello Alex, your order is ready.\"}]}"
Request Fields
| Field | Description |
|---|---|
method
|
Use node when sending through
a connected WhatsApp Node device.
|
gateway_identifier
|
Optional top-level Libwana.Net Node gateway UID when you want to select a specific Node gateway. |
contact
|
An array containing the WhatsApp recipient information. |
number
|
Recipient phone number including the appropriate country code. |
message
|
The WhatsApp text message you want to send. |
Node Gateway Requirements
Make sure your WhatsApp Node device is connected and accessible before attempting to send a message.
Keep the Node session active so Libwana.Net can route the message through the connected WhatsApp account.
You should also respect WhatsApp account sending limits and appropriate recipient messaging practices.
Using It With Your Application or CRM
Trigger the HTTPS request from your application's backend, CRM workflow, or another server-side process.
Map the recipient phone number and message into the
contact array.
Your application should prevent duplicate events, respect recipient consent, and handle API errors appropriately.
Check WhatsApp Message Status
After sending, use the returned message ID to check the WhatsApp message status.
/api/get/whatsapp/MESSAGE_ID
Include your Api-key and
Accept: application/json
headers when checking the status.
Ready to send a WhatsApp message?
Connect your WhatsApp Node device and start sending with Libwana.Net