Skip to main content
Send Personalized Messages
Use CustomPayload when recipients need different header or body values. Each array item represents one recipient.

Request fields

string
required
Active WhatsApp sender number returned by the connectors endpoint.
string
required
Identifier of the approved Meta template to send.
object[]
required
Recipient-specific payloads.
string
required
Recipient number in international format.
string
Recipient-specific value for a dynamic text header.
string[]
Recipient-specific values for body placeholders, in template order.

Header and body variables

Authentication template (OTP)

For an authentication template, put each recipient’s OTP in BodyVariables:
The template determines whether a header variable, body variables, or both are required. Omit fields that the template does not define.

Success response