API Reference

Send a message (MMS)

Note: # and anything after is NOT needed, its just to allow multiple examples for the same path/method.

Log in to see full request history
Path Params
string
required
length ≤ 64
Defaults to ~

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

string
required
length between 0 and 16
Defaults to ~

This is the main user extension for the user account. ~ can be used to mean "my account" which will extract the user from the token/key used for authentication.

string
required

ID of the message session to send in. Needs to be at least 32 characters long and random. Only alphanumeric chracters and underscore are allowed.

Body Params
string
required

Type of message to send. Examples: chat, chat-media, sms, mms, chat-name-change, chat-video-invite, chat-participant-add, chat-participant-remove, chat-participant-leave

string
required

This is the text that will be sent as the message

required

This is a single user or phonenumber for chat and SMS respectively. If sending to multiple recipients, then should be an array of users or phonenumbers

string

This is used only for SMS. This is the user's number used to send outbound for SMS

string | null

This is used only for media chat or MMS. This is the base64 data of the media file to be sent

This is used only for media chat or MMS. This is the mime type of the media file to be sent

integer | null

This is used only for media chat or MMS. This is the size in bytes of the media file being sent

Responses

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json