GET
/
api
/
v1
/
accounts
/
{account_id}
/
contacts
/
{id}
/
conversations
curl --request GET \
  --url https://app.chatwoot.com/api/v1/accounts/{account_id}/contacts/{id}/conversations
[
  {
    "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"
          }
        ]
      }
    },
    "display_id": 123
  }
]

Path Parameters

account_id
integer
required

The numeric ID of the account

id
number
required

ID of the contact

Response

200
application/json
Success

array of conversations