CRM inbox

Закрыть диалог

Changed on

Закрывает диалог вручную. Если канал входит в линию обращений, клиенту уходят сообщение при закрытии и просьба оценить ответ — когда они включены в линии. Закрытый диалог открывается снова, когда клиент напишет или сотрудник ответит.

post/api/v1/crm/inbox/conversations/{id}/close

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

id, string uuid required

Headers

X-Tenant, string required

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

Response

Закрытый диалог

CRMInboxConversation required
id, string uuid required
connection_id, string uuid required
external_identity_id, string uuid required
external_chat_id, string required
subject, string required
assigned_to, integer
unread_count, integer required
sla_due_at, string date-time
status, 'open' | 'closed' required
last_message_at, string date-time
closed_at, string date-time

Когда диалог закрыт: вручную или по тишине клиента (линия обращений)

rating, 'good' | 'bad'

Оценка клиента после закрытия: good — «👍 Хорошо», bad — «👎 Плохо»

rated_at, string date-time

Когда клиент оценил ответ

created_at, string date-time required
updated_at, string date-time required

Changes

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    • info

      added the optional property field to the response with the status

    5 more changes in this revision