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
headerrequired

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

Body

application/json
to
string
required

The recipient's phone number

template_id
string
required

The 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
required

The message ID

to
string
required

The recipient's phone number

template_id
string
required

The template ID

variables
object
required

The 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
required

The message expiration date

created_at
string
required

The message creation date