The Conversation object
The following attributes are returned when you fetch a conversation from the API.| Attribute | Description |
|---|---|
id | Unique identifier for the conversation |
channel | Channel type (e.g., SMS, email) |
status | Current status: open or closed |
assigned | ID of the user the conversation is assigned to |
inbox | ID of the inbox this conversation belongs to |
target | The customer’s phone number or channel identifier |
members | Array of ConversationMember objects, each with id and name |
created | Creation timestamp |
updated | Last updated timestamp |
read | Whether the conversation has been read |
replied | Whether the conversation has been replied to |
blocked | Whether the contact is blocked |
muted | Whether the conversation is muted |
snooze_till | Timestamp until which the conversation is snoozed |
Conversation lifecycle
Conversations start asopen when a message is sent or received. You can close a conversation when the interaction is resolved. If the customer sends another message after a conversation is closed, it reopens automatically.
You can also:
- Reassign a conversation to a different team member by updating the
assignedfield - Transfer a conversation to a different inbox, useful when routing to a specialized team
Filtering conversations
When listing conversations, you can narrow results using the following filters:- Inbox IDs — return only conversations belonging to specific inboxes
- Closed status — filter for open or closed conversations
- Unread status — filter for conversations that have not yet been read
Pagination
Conversation lists are paginated. To retrieve the next page of results, pass theupdated field value from the last item in the current response as the date cursor in your next request body. The date value must be in RFC 3339 format.