Send a transactional message
Learn how to send a transactional message to your user with one simple endpoint, using Prelude Transactional API.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The recipient's phone number.
The template identifier.
The Sender ID.
A BCP-47 formatted locale string with the language the text message will be sent to. If there's no locale set, the language will be determined by the country code of the phone number. If the language specified doesn't exist, the default set on the template will be used.
The variables to be replaced in the template.
The message expiration date.
The callback URL.
A unique, user-defined identifier that will be included in webhook events.
Response
The message identifier.
The recipient's phone number.
The template identifier.
The variables to be replaced in the template.
The message expiration date.
The message creation date.
The Sender ID.
The callback URL.
A unique, user-defined identifier that will be included in webhook events.