Endpoints
Send a transactional message
Send a transactional message to your user.
POST
/
v2
/
transactional
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 identifier.
from
string
The Sender 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 identifier.
to
string
requiredThe recipient's phone number.
template_id
string
requiredThe template identifier.
variables
object
requiredThe variables to be replaced in the template.
expires_at
string
requiredThe message expiration date.
created_at
string
requiredThe message creation date.
from
string
The Sender ID.
callback_url
string
The callback URL.
correlation_id
string
A unique, user-defined identifier that will be included in webhook events.
Was this page helpful?