---
title: "Get List Of Conversations By Contact Id"
method: GET
path: "/api/v1/conversation/by-contact/{contact_id}"
tags: ["Conversation"]
---

# Get List Of Conversations By Contact Id

`GET /api/v1/conversation/by-contact/{contact_id}`

Get the list of Conversations linked to a **contact_id**

## Path parameters

- `contact_id` string, uuid, required

## Query parameters

- `page` integer
- `size` integer

## Response `200`

Successful Response

- IGetResponsePaginatedIConversationRead
  - `message` string, nullable
  - `meta` object
  - `data` PageBaseIConversationRead, required
    - `items` IConversationRead[], required
      - `widget_id` string, uuid, nullable
      - `assistant_id` string, uuid, nullable
      - `device_type` 'mobile' | 'native' | 'desktop' | 'tablet' | 'phone', required
      - `unique_device_id` string, nullable
      - `attributes` object
      - `contact_id` string, uuid, nullable
      - `id` string, uuid, required
      - `created_at` string, date-time, nullable, required
      - `first_message` string, nullable, required
      - `chat_count` integer, nullable, required
    - `total` integer, nullable, required
    - `page` integer, nullable, required
    - `size` integer, nullable, required
    - `pages` integer, nullable
    - `previous_page` integer, nullable — Page number of the previous page
    - `next_page` integer, nullable — Page number of the next page

## Other responses

- `422` — Validation Error

---

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