---
title: "List chats by contact"
method: GET
path: "/v2/chats/contact/{contactId}"
tags: ["Chats"]
---

# List chats by contact

`GET /v2/chats/contact/{contactId}`

Retrieve a paginated list of chats for a specific contact across WHATSAPP_OFFICIAL, WHATSAPP and INSTAGRAM channels. Results are sorted by last_message_at descending.

## Path parameters

- `contactId` string, uuid, required

## Query parameters

- `limit` integer
- `offset` integer
- `page` integer
- `last_message_at_start` string, date-time
- `last_message_at_end` string, date-time
- `last_response_at_start` string, date-time
- `last_response_at_end` string, date-time

## Headers

- `api-token` string, required

## Response `200`

A paginated list of chats

- object — V2 paginated response with snake_case keys
  - `status` integer — Response status
  - `total_count` integer — Total items based on current filters
  - `page` integer — Current page
  - `total_pages` integer — Total pages based on current filters
  - `has_next` boolean — Indicates that has next page
  - `has_previous` boolean — Indicates that has previous page
  - `data` Chat[]
    - `id` string, uuid
    - `created_at` string, date-time
    - `contact_id` string, uuid
    - `user_id` string, uuid
    - `status` 'OPEN' | 'CLOSED' | 'WAITING' | 'SNOOZED' | 'REOPENED'
    - `seen` boolean
    - `unread` boolean
    - `replied` boolean
    - `unseen_count` integer
    - `last_message_at` string, date-time
    - `last_response_at` string, date-time, nullable
    - `last_status_at` string, date-time, nullable
    - `first_response_at` string, date-time, nullable
    - `channel_account_id` string, uuid
    - `team_id` string, uuid, nullable
    - `closed_at` string, date-time, nullable — Timestamp when the chat was closed
    - `first_customer_message_at` string, date-time, nullable — Timestamp of the first customer message in the chat
    - `close_window_at` string, date-time, nullable — Timestamp when the WhatsApp messaging window closes (24h after last customer message)

## Other responses

- `400` — Invalid UUID format
- `401` — Authentication error - invalid or missing api-token

---

[API](https://skmtc.net/clint/apis/clint-api.md) · [All operations](https://skmtc.net/clint/apis/clint-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clint/clint-api/revisions/12b8f9eff943/schema)
