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

Path Parameters

channelId
string
required

Visito WhatsApp channel ID

Minimum string length: 1

Body

application/json
template
object
required

Response

Template submitted to Meta for review

data
any | null

Raw response from Meta create-template API