---
title: "Get user chats"
method: GET
path: "/api/chat/chats"
tags: ["chat"]
---

# Get user chats

`GET /api/chat/chats`

Get all chats for the current user (patient or operator).

## Response `200`

Successful Response

- ChatsListResponse — List of chats response.
  - `chats` ChatResponse[], required — List of chats
    - `id` string, nullable — Chat UUID (null for a not-yet-created chat)
    - `patient_id` string, required — Patient UUID
    - `operator_id` string, required — Operator UUID
    - `profession` string, required — Operator profession: 'PSICOLOGO' or 'NUTRIZIONISTA'
    - `status` string, nullable — Chat status: 'active', 'archived', 'closed'
    - `last_message_at` string, date-time, nullable — Last message timestamp
    - `created_at` string, date-time, nullable — Chat creation timestamp
    - `updated_at` string, date-time, nullable — Chat last update timestamp
    - `operator_first_name` string, nullable — Operator first name
    - `operator_last_name` string, nullable — Operator last name
    - `patient_first_name` string, nullable — Patient first name
    - `patient_last_name` string, nullable — Patient last name
  - `total` integer, required — Total number of chats

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
