---
title: "Get user's chat list"
method: GET
path: "/chat-app/chats"
tags: ["💬 Chat App"]
---

# Get user's chat list

`GET /chat-app/chats`

Retrieve all chats associated with the logged-in user.

This endpoint provides a comprehensive list of both individual and group chats, offering a centralized view of the user's communication interactions.

Developers can utilize this endpoint to seamlessly gather chat metadata, facilitating efficient tracking and management of conversations within the application.

## Response `200`

Get user's chat list

- object
  - `data` object[]
    - `__v` number
    - `_id` string
    - `admin` string
    - `createdAt` string
    - `isGroupChat` boolean
    - `name` string
    - `participants` object[]
      - `__v` number
      - `_id` string
      - `avatar` object
        - `_id` string
        - `localPath` string
        - `url` string
      - `createdAt` string
      - `email` string
      - `isEmailVerified` boolean
      - `loginType` string
      - `role` string
      - `updatedAt` string
      - `username` string
    - `updatedAt` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

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