Skip to main content
POST
/
whatsapp-templates
/
{channelId}
/
send
Send a WhatsApp template message (Meta passthrough)
curl --request POST \
  --url https://api.example.com/whatsapp-templates/{channelId}/send \
  --header 'Content-Type: application/json' \
  --data '
{
  "to": "<string>",
  "template": {
    "name": "<string>",
    "language": {
      "code": "<string>"
    },
    "components": [
      "<unknown>"
    ]
  }
}
'
{
  "data": {
    "conversation": "<string>",
    "whatsapp": "<unknown>"
  }
}

Path Parameters

channelId
string
required

Visito WhatsApp channel ID

Minimum string length: 1

Body

application/json
to
string
required

Destination phone number, digits only (no "+" or spaces). Example: "5215512345678"

Minimum string length: 6
template
object
required

Response

Message accepted by WhatsApp

data
object
required