Chat
Найти или создать личный диалог
Changed onПовторный или встречный вызов возвращает тот же direct; created сообщает, была ли новая запись.
post/api/v1/chat/conversations/direct
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 Ensure Direct required
peer_user_id, integer required
Response
Существующий диалог
Chat Ensure Direct Result required
conversation_id, string uuid required
created, boolean required
Changes
- info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status - info
added the optional property
fieldto the response with the status
5 more changes in this revision
- info