Messages
Send-Message
Changed onpost/messages
Request
- Base URLhttp://example.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"preview_url": true,
"recipient_type": "individual",
"to": "{whatsapp-id}",
"type": "text",
"text": {
"body": "your-text-message-content"
}
}Response
Example response
{
"messages": [
{
"id": "gBEGkYiEB1VXAglK1ZEqA1YKPrU"
}
]
}Changes
- breaking
removed the enum value
contactof the request property - info
added the new
contactsenum value to the request property
- breaking
- breaking
removed the enum value
contactsof the request property - info
added the new
contactenum value to the request property
- breaking