Send Text
POST
/module/v1/message/send-textRequest
Query Params
device-secret
string
optional
This key for sending by specific device, found key on the customer dashboard page at Device Menu (Detail -> Secret). Copy and Paste here!
Example:
{{device-secret}}
global-secret
string
optional
This key for sending by random device, found key on the customer dashboard page at Device Menu (Detail -> Global Secret). Copy and Paste here!
Example:
{{global-secret}}
Header Params
x-device-secret
string
optional
false
Example:
{{device-secret}}
x-global-secret
string
optional
Example:
{{global-secret}}
Body Params application/json
to
string
required
Message recipient ID. It can be a Whatsapp number or Chat ID
text
string
required
Text message to be sent. Can be text characters or emojis
>= 1 characters<= 4096 characters
Example
{
"to": "628213456789",
"text": "Hello Worlds!"
}
Request samples
Responses
OK(200)
Bad Request(400)
Forbidden(403)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
success
boolean
required
API response status if success or failed
message
string
required
API response message
data
string | integer | boolean | array | object | number | null
required
API response data
Example
{
"success": true,
"message": "Successfully",
"data": "BAE505716AA91242"
}
Last modified: 6 months ago