POST Send Message API
Use this API to send a WhatsApp message.
Last updated
Use this API to send a WhatsApp message.
Last updated
Header | Value |
---|---|
Request Body
Parameters
Parameter | Type | Description |
---|---|---|
Example
Refer to the official documentation for more information on error codes.
Parameter | Type | Description |
---|---|---|
apiKey
*API KEY*
Content-Type
application/json
userName
string
The name of the user to whom the message is being sent.
wa_id
string
The WhatsApp number of the user to whom the message is being sent. The number must contain the country code without the plus sign.
type
string
The type of message being sent (e.g., text, image).
message.text
string
message that needs to sent
message.label
string
The caption you want to send along with the image (optional) Only if type is image
message.source
string
The image link (optional) Only if type is image
userName
string
The name of the user to whom the message is being sent.
wa_id
string
The WhatsApp number of the user to whom the message is being sent. The number must contain the country code without the plus sign.
type
string
The type of message being sent (e.g., text, image, document).
message.source
string
The URL of the media being sent.
message.label
string
The text to attach to the media.
message.type
string
The type of media being sent (e.g., image, document).