Skip to main content
POST
Send a whatsapp template message

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Body

application/json
templateName
string
required

Name of the WhatsApp template registered with Meta

channelId
string
required

The WhatsApp channel ID from your project

to
string
required

Recipient phone number (E.164 format, e.g. "+14155552671")

customValues
any

Key-value map of template variable overrides. Keys must match the templateVariable names from your variable mapping (e.g. { "order_number": "ORD-123", "customer_name": "John" }). Typed any, not Record<...>: tsoa compiles Record to an empty model and silently-remove-extras guts it to {} — the overrides would be silently dropped (2026-07-12 strip audit).

languageCode
string

Language code (e.g. "en_US"). Falls back to the contact's language or "en_US"

Response

200 - application/json

Ok