Send Template

Sends a WhatsApp template message to a specific contact through a designated channel.

Send a WhatsApp template message to a contact

post
Authorizations
Body
contact_uuidstring · uuidRequired

UUID of the contact to send the message to

channel_uuidstring · uuidRequired

UUID of the WhatsApp channel to use

template_uuidstring · uuidRequired

UUID of the template to send

Responses
200

Message sent successfully

application/json
post
/messages/send-template
POST /api/v1/messages/send-template HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 211

{
  "contact_uuid": "123e4567-e89b-12d3-a456-426614174000",
  "channel_uuid": "123e4567-e89b-12d3-a456-426614174000",
  "template_uuid": "123e4567-e89b-12d3-a456-426614174000",
  "variables": {
    "ANY_ADDITIONAL_PROPERTY": "text"
  }
}
{
  "message": "text",
  "message_id": "text",
  "provider_message_id": "text"
}

Last updated