Sync outbound message

Import a message that was sent from the channel.

Path Params
string
required
Defaults to cha_123

The channel ID. Alternatively, you can supply the channel address as a resource alias.

Body Params
string

Name of the sender

to
array of objects
required

Data of the message recipient

to*
string

Subject of the message

string

ID of the teammate on behalf of whom the message is sent

string
required

The body of the message in HTML or plain text format.

metadata
object
required
integer

Time in seconds at which message was created in external system

attachments
array of files

Binary data of attached files. Must use Content-Type: multipart/form-data if specified. See example or read more about Attachments. Max 25 MB.

attachments
Response

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Choose an example:
application/json