v1

latestOpenAPI 3.1.02026-07-24403468.9 KB

Sending Template Message

Use the /v1/messages endpoint to send templates messages to your customers. What's different about sending template messages is the body content of the message specified with the template parameter. The template parameter contains a namespace and a name pair that identifies the template and the values that apply to variables in that template.

post/wab/v1/messages

Request body

tostring
typestring
recipient_typestring
templatestring json

Response

200

Example response

{
  "messages": [
    {
      "id": "<generated message id>"
    }
  ]
}