Chat
Получить доступные чаты
Changed onВозвращает чаты, доступные текущему пользователю.
get/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
Query parameters
cursor, string
Opaque URL-safe cursor
limit, integer
space, 'chats' | 'tasks' | 'support'
List section: chats, task chats or support requests; omitted returns every conversation
archived, boolean
true returns the caller's personal archive instead of the list (SUP-336); without it archived conversations are left out of the list
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Страница чатов текущего участника
Chat Conversation Page required
items, Chat Conversation[] required
next_cursor, string
Example response
{
"items": [
{
"preview": {
"attachments": [
{
"content_url": "/api/v1/chat/attachments/00000000-0000-0000-0000-000000000001/content"
}
]
}
}
]
}Changes
- info
added the new optional
queryrequest parameterarchived - info
added the optional property
items/items/archived_atto the response with the status
- info
- info
added the optional property
items/items/capabilities/canManageGreetingto the response with the status
4 more changes in this revision
- info