Skip to main content

The Message object

Messages are the primary way to communicate with clients.

Create and send messages in conversations.

Attributes

author
string
expandable
ID of the user that created the message.
content
string
Content of the message.
conversation
string
ID of the message conversation.
created_at
string
Time at which the message was created.
format
enum
The message format. One of text, html.
id
string
Unique identifier for the message.
send_at
string
Time at which the message is sent.
updated_at
string
Time at which the message was last updated.
The Message object
{
"author": "u_c01bb6102b6ddadd4b1f020e",
"content": "The message content",
"conversation": "convr_1lbg89ha9ttb5dmxuldku3nx",
"created_at": "2024-01-23T23:09:00+00:00",
"format": "text",
"id": "msg_3447589816730d8ba4e50528",
"send_at": null,
"updated_at": "2024-01-23T23:09:00+00:00"
}