✉️Messaging
This documentation describes how to start sending messages to your customers.
Last updated
This documentation describes how to start sending messages to your customers.
Last updated
Message API calls are sent to the /v1/messages
endpoint regardless of message type, but the content of the JSON message body differs for each type of message type (text, image, etc.). See the following documentation for information regarding the type of messages you want to send.
POST
https://api.whatso.net/v1/messages
To send a message, use the request URL and the following body parameters.
Name | Type | Description |
---|---|---|
username*
string
Enter username of your account which you will find in WhatsoNxt panel.
password*
string
Enter password of your account which you will find in WhatsoNxt panel.
from*
string
WhatsApp Business Number with Country Code.
to*
string
Recipients Mobile number with Country Code.
type*
string
For approved template message send "template".
template:language*
string
Pass language of your approved template.
name*
string
Pass template name which you entered at time of template creation.
apicomponents:type*
string
Pass body for text variables, header for image, footer for button.
parameters:type*
string
Pass text for text variable in body.
If header has image then pass image.
Pass text in footer.
sub_type
string
If approved template has button in footer then pass url.
index
string
If approved template has button in footer then pass "0".
parameters:value*
string
Pass variable value in body, image link in header, website url in footer.