Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the message to retrieve.

Example:

"msg_01j9e0m1m6fc38gsv2vkfqgzz2"

Response

Message

A Message is a communication sent to a Contact.

attachments
Attachment · object[]
blast_id
string | null

The ID of the blast this message belongs to, if any. This can be used to attribute messages back to a specific blast.

body
string | null

The message body.

conversation
Conversation · object

A conversation with a Contact

Example:
id
string

Unique identifier for the object.

metadata
Metadata · object

Set of key-value pairs that will be stored with the object.