AgentBots
Inbox API
Conversations API
Contact Labels
CSAT Survey Page
Account AgentBots
Agents
Canned Responses
Canned Response
Custom Attributes
Contacts
Automation Rule
Help Center
Conversations
Conversation Assignment
Conversation Labels
Inboxes
Integrations
Profile
Teams
Custom Filters
Conversations
Conversations List
Conversations
Conversations List
List all the conversations with pagination
GET
/
api
/
v1
/
accounts
/
{account_id}
/
conversations
curl --request GET \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/conversations
{
"data": {
"meta": {
"mine_count": 123,
"unassigned_count": 123,
"assigned_count": 123,
"all_count": 123
},
"payload": [
{
"id": 123,
"messages": [
{
"content": "<string>",
"content_type": "text",
"content_attributes": {},
"message_type": "incoming",
"created_at": 123,
"private": true,
"attachment": {},
"sender": {},
"conversation_id": 123
}
],
"account_id": 123,
"inbox_id": 123,
"status": "open",
"timestamp": "<string>",
"contact_last_seen_at": "<string>",
"agent_last_seen_at": "<string>",
"unread_count": 123,
"additional_attributes": {},
"custom_attributes": {
"attribute_key": "attribute_value",
"priority_conversation_number": 3
},
"meta": {
"sender": {
"id": 123,
"name": "<string>",
"thumbnail": "<string>",
"channel": "<string>"
},
"assignee": {
"id": 123,
"uid": "<string>",
"name": "<string>",
"available_name": "<string>",
"display_name": "<string>",
"email": "<string>",
"account_id": 123,
"role": "agent",
"confirmed": true,
"custom_attributes": {},
"accounts": [
{
"id": 123,
"name": "<string>",
"role": "administrator"
}
]
}
}
}
]
}
}
Path Parameters
The numeric ID of the account
Query Parameters
Filter conversations by assignee type.
Available options:
me
, unassigned
, all
, assigned
Filter by conversation status.
Available options:
all
, open
, resolved
, pending
, snoozed
Filters conversations with messages containing the search term
paginate through conversations
Response
200
application/json
Success
The response is of type object
.
curl --request GET \
--url https://app.chatwoot.com/api/v1/accounts/{account_id}/conversations
{
"data": {
"meta": {
"mine_count": 123,
"unassigned_count": 123,
"assigned_count": 123,
"all_count": 123
},
"payload": [
{
"id": 123,
"messages": [
{
"content": "<string>",
"content_type": "text",
"content_attributes": {},
"message_type": "incoming",
"created_at": 123,
"private": true,
"attachment": {},
"sender": {},
"conversation_id": 123
}
],
"account_id": 123,
"inbox_id": 123,
"status": "open",
"timestamp": "<string>",
"contact_last_seen_at": "<string>",
"agent_last_seen_at": "<string>",
"unread_count": 123,
"additional_attributes": {},
"custom_attributes": {
"attribute_key": "attribute_value",
"priority_conversation_number": 3
},
"meta": {
"sender": {
"id": 123,
"name": "<string>",
"thumbnail": "<string>",
"channel": "<string>"
},
"assignee": {
"id": 123,
"uid": "<string>",
"name": "<string>",
"available_name": "<string>",
"display_name": "<string>",
"email": "<string>",
"account_id": 123,
"role": "agent",
"confirmed": true,
"custom_attributes": {},
"accounts": [
{
"id": 123,
"name": "<string>",
"role": "administrator"
}
]
}
}
}
]
}
}