POST
/
messages
/
phone-number

Authorizations

x-api-key
string
headerrequired

Body

application/json

Request model for sending a message to a phone number using a template

customerId
string
required

Unique identifier of the customer

phoneNumber
string
required

Phone number in E.164 format

templateId
string
required

Unique identifier of the message template

Response

200 - application/json
messageId
string
status
enum<string>
Available options:
queued,
sending,
delivered
channel
enum<string>
Available options:
sms,
whatsapp
contactId
string

ID of the created or existing contact