Chat

Создать групповой чат

Создаёт групповой чат.

post/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)

Headers

X-Tenantstring required

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

Request body

titlestring required
descriptionstring
member_user_idsinteger[] required

Response

Созданный чат

createdtrue required

Example response

{
  "conversation": {
    "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.