Skip to main content
POST
Send a WhatsApp template message

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Body

application/json
connection_id
string<uuid>
required
to
string
required

Destination in E.164, including the country code.

campaign_name
string

Required for AiSensy Campaign connections.

template_name
string

Required for all other connections.

language_code
string

Required with template_name, e.g. en.

variables
string[]

Template body variables, in order.

header_values
string[]

Template header variables, in order.

Response

Queued for delivery.

success
boolean
data
object