---
title: "Получить чат по ID"
method: GET
path: "/api-v2/group-chats/{id}"
tags: ["Групповые чаты"]
---

# Получить чат по ID

`GET /api-v2/group-chats/{id}`

## Request

- Base URL: `https://api-docs.yougile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.yougile.com/api-v2/group-chats/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

- GroupChatDto
  - `deleted` boolean: Если true, значит объект удален
  - `id` string, required: ID объекта
  - `title` string, required: Название чата
  - `users` object, required: Сотрудники в чате. При изменении чата список заменяется целиком: сотрудники, которых в нём нет, исключаются из чата
  - `userRoleMap` object, required: Роли сотрудников в чате
  - `roleConfigMap` object, required: Настройки ролей

## Other responses

- `404`

---

[API](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0.md) - [All operations](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/revisions/9452cba35716?raw)
