GET
/
messages
/
{message_id}

Path Parameters

message_id
string
required

The unique identifier of the message

Response

200 - application/json
<p>Each interaction holds a number of <i>messages</i> and every message belongs to an interaction. The `sent_by` property of a message indicates whether a message was created by an agent or a user.</p>
id
string
required

The unique identifier of the message

object
enum<string>
required

The type of the Message object

Available options:
message
content
string
required

The content of the message

created_at
integer
required

The time at which the object was created, measured in milliseconds since the Unix epoch

depth
integer
required

The depth of the message node in the interaction tree. This will be 0 for all root-level messages that mark the beginning of the interaction and increase as the conversation grows longer.

interaction_id
string
required

The unique identifier of the interaction

parent_id
string | null

The ID of the message that directly precedes a given message within a particular conversation.

sent_by
enum<string>
required

Represents the type of the participant in a given interaction. As an example, message are created by interaction participants so the sent_by property of a Message object must be an InteractionParticipant.

Available options:
user,
agent