Sending SMS messages

In order to send a message, you must have an active SMS channel and perform a HTTP request to the following endpoint with a valid access key

Send a message

post

Send a message to a channel

Authorizations
HTTPRequired

Uses the Authorization header: 'AccessKey ' followed by your access key token (e.g., 'Authorization: AccessKey AbCdEfGhIjKlMnOpQrStUvWxYzAbCdEfGhIj')

Path parameters
workspaceIdstring · uuidRequired

The ID of the workspace

channelIdstring · uuidRequired

The ID for a channel

Body
and
anyOptional
object · ChannelMessageCreateWithTemplateOptional
or
object · ChannelMessageCreateWithBodyOptional
Responses
post
/workspaces/{workspaceId}/channels/{channelId}/messages

Body

Template

SMS messages

All SMS channels support sending basic text based messages using SMS. The example below must be set in the message body field

Send an SMS message

To send an SMS text message set the message body as follows:

MMS messages

SMS channels that are installed with MMS capable numbers (currently numbers purchased for the United States and Canada) also support media messaging. You can also verify if the channel is MMS capable via the API as described here.

Image

Single image message

Single image message with text

Single image message with text and title

Multiple image message

When sending multiple image messages it is possible to send up to an array of 10 media URLs.

Multiple image message with text

Multiple image message with text and title

File

Single file message

Single file message with text

Single file message with text and title

Multiple file message

Multiple file message with text

Multiple file message with text and title

Template messages

Using studio it is possible to create text and media templates that can quickly be reused to send to contacts. Templates must be active before they are used.

The examples below must be set in the message template field

Text templates

Text templates will be sent as SMS messages and are compatible with all SMS channels

Last updated

Was this helpful?