Chat

Получить доступные чаты

Возвращает чаты, доступные текущему пользователю.

get/api/v1/chat/conversations

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/chat/conversations
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)

Query parameters

cursorstring

Opaque URL-safe cursor

limitinteger

Headers

X-Tenantstring required

Slug выбранного кабинета; кабинет не является юрлицом

Response

Страница чатов текущего участника

next_cursorstring

Example response

{
  "items": [
    {
      "preview": {
        "attachments": [
          {
            "content_url": "/api/v1/chat/attachments/00000000-0000-0000-0000-000000000001/content"
          }
        ]
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.