v1

latestOpenAPI 3.0.02026-07-26254134307.1 KB
Messages

Receive custom messages

Receive a custom message in Front. This endpoint is available for custom channels ONLY.

Required scope: messages:write

post/channels/{channel_id}/incoming_messages

Path parameters

channel_idstring required

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

Request body

subjectstring

Subject of the message

bodystring required

Body of the message

body_format'html' | 'markdown'

Format of the message body. Can be markdown (default) or html.

attachmentsstring[]

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

Response

An accepted message

statusstring
message_uidstring

Message unique identifier