Text Mesage
To send a text message, make POST
it to /{{Channel-ID}}/messages
and attach a message text object with type = text
,then add text object
like the sample below
{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "{{Recipient-Phone-Number}}",
"type": "text",
"text": {
"preview_url": false,
"body": "hi there 1"
}
}
A successful response includes an object with an identifier prefixed with wamid
. Use thewamid
to track your message status.
Last updated