Messages
Messages in a conversation. Messages you send through the API are sent as the API key's user.
Endpoints
The Message object
object
stringread-only
String representing the object's type. Always message.
id
stringread-only
Unique identifier of the message.
conversationId
string | nullmax length 64
The conversation the message belongs to.
content
string | nullmax length 5000
Message text.
senderId
string | nullread-onlymax length 64
User ID of the sender. Set to the API key's user.
sentAt
string · date-time | nullread-only
When the message was sent.
editedAt
string · date-time | nullread-only
When the message was last edited.
isDeleted
boolean | nullread-only
Whether the sender deleted the message. Deleted messages keep their place in the thread.
createdAt
string · date-time | nullread-only
When the message was created.
updatedAt
string · date-time | nullread-only
When the message was last changed.