Endpoints
Send a Message
POST
/
v2
/
transactional
Wildcard Template
The beta Transactional API only supports free content using the wildcard template: template_01hp78bjhcef9tej1tgcg0cpq2
.
It expects a single content
variable with the message body.
{
"template_id": "template_01hp78bjhcef9tej1tgcg0cpq2",
"variables": {
"content": "Your content here"
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
to
string
requiredThe recipient's phone number
template_id
string
requiredThe template ID
variables
object
The variables to be replaced in the template
expires_at
string
The message expiration date
callback_url
string
The callback URL
correlation_id
string
A unique, user-defined identifier that will be included in webhook events
Response
200 - application/json
id
string
requiredThe message ID
to
string
requiredThe recipient's phone number
template_id
string
requiredThe template ID
variables
object
requiredThe variables to be replaced in the template
callback_url
string
The callback URL
correlation_id
string
A unique, user-defined identifier that will be included in webhook events
expires_at
string
requiredThe message expiration date
created_at
string
requiredThe message creation date