To send a Notification message on WhatsApp, the API request is made to this endpoint:
https://app.askeva.in/api/rest/send_message?
Content-Type | application/x-www-form-urlencoded |
---|
Key | Description | Example |
---|---|---|
format
REQUIRED | string
|
The API response message format. Default value is text, unless otherwise specified. Must be one of: text, json, xml | json |
method
REQUIRED | string
|
The API method to perform a specific action i.e. send a message on WhatsApp Must be: SendMessage | Send Message |
auth_scheme
REQUIRED | string
|
The authentication scheme of the API. Must be: plain | plain |
v
REQUIRED | string
|
The API version. Must be: 1.1 | 1.1 |
send_to
REQUIRED | string
|
The phone number of the recipient to whom message is being sent. Number must be in E.164 format | 919892123456 |
msg
REQUIRED | string
|
The text message to be sent to the customer. It must be URL encoded. | Hello%20World! |
msg_type
REQUIRED | string
|
The type of message to be sent to the customer. Depending on ©type©, the relevant parameters must be sent as part of the request payload. By default, type is TEXT unless otherwise specified. It is recommended to send msg_type=TEXT when sending Text Notifications on WhatsApp. Must be : TEXT | TEXT |
Authorization
REQUIRED | boolean
|
A Custom API Key that can be specified by the business. it must be unique for every Panel . | 9rc1nxxxxxxxxx |
header
OPTIONAL | string
|
In a Text message, a header usually refers to the Title of the message. 60 alphanumeric characters (with variable values) are allowed for this parameter. | Text message : "Booking confirmation for Movie" |
footer
OPTIONAL | string
|
A short line of text to the bottom of the message template. 60 alphanumeric characters are allowed for this parameter. | "Get yourself web-checked- in, to avoid queues" |