Import message

Import a new message in an inbox.

Path Params
string
required
Defaults to inb_123

The Inbox ID

Body Params
object
required

Data of the sender

array of strings
required

List of the recipient handles who will receive this message

to*
array of strings

List of the recipient handles who will receive a copy of this message

cc
array of strings

List of the recipient handles who will receive a blind copy of this message

bcc
string

Subject of the message

string
required

Body of the message

string
Defaults to markdown

Format of the message body. Can be markdown (default) or html, and can only be specified for email type.

string
required

External identifier of the message. Front won't import two messages with the same external ID.

integer
required

Date at which the message as been sent or received.

string
Defaults to email

Type of the message to import. Default is email.

string

ID of the teammate who will be assigned to the conversation.

array of strings

List of tag names to add to the conversation

tags
string

If supplied, Front will thread this message into conversation with the given ID. Note that including this parameter nullifies the thread_ref parameter completely.

object
required
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
Choose an example:
application/json