Chat
Создать групповой чат
Changed onСоздаёт групповой чат.
post/api/v1/chat/conversations
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Request body
Chat Create Group required
title, string required
description, string
member_user_ids, integer[] required
Response
Созданный чат
Chat Create Group Result required
conversation, Chat Conversation required
created, true required
Example response
{
"conversation": {
"preview": {
"attachments": [
{
"content_url": "/api/v1/chat/attachments/00000000-0000-0000-0000-000000000001/content"
}
]
}
}
}Changes
- info
added the optional property
conversation/archived_atto the response with the status
- info
- info
added the optional property
conversation/capabilities/canManageGreetingto the response with the status - info
added the optional property
conversation/capabilities/canManageSettingsto the response with the status
3 more changes in this revision
- info