---
updatedAt: 2025-10-23T10:26:14.000Z
agentTools:
  projectIndex: https://developers.kommo.com/llms.txt
---

# Get contact chats

The method allows you to retrieving a contact’s chats.

**Data type header when the request is successful**\
Content-Type: application/json

**Data type header in case of an error**\
Content-Type: application/json

# Response parameters

| Parameter   | Data type | Description                                                             |
| :---------- | :-------- | :---------------------------------------------------------------------- |
| chat\_id    | string    | Chat id in Kommo Chat API                                               |
| contact\_id | int       | Id of the contact in Kommo                                              |
| id          | int       | ID of the chat-to-contact link (can change if the chat link is changed) |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "kommo-api-references",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{subdomain}.kommo.com",
      "variables": {
        "subdomain": {
          "default": "subdomain"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {}
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/v4/contacts/chats": {
      "get": {
        "summary": "Get contact chats",
        "description": "The method allows you to retrieving a contact’s chats.",
        "operationId": "get-contact-chats",
        "parameters": [
          {
            "name": "contact_id",
            "in": "query",
            "description": "ID of the contact in Kommo (use only one of the parameters here)",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "chat_id",
            "in": "query",
            "description": "Chat ID in Kommo Chat API (use only one of the parameters here)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Request successful": {
                    "value": "{\n   \"_total_items\": 1,\n   \"_embedded\": {\n       \"chats\": [\n           {\n               \"chat_id\": \"xxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxxx\",\n               \"contact_id\": 111XXX,\n               \"id\": 111XXXX\n           }\n       ]\n   }\n}"
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "User is not authorized": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```