Mail messages

Получить переписку целиком

Changed on

Письма склеиваются в переписку по корню цепочки References, а не по теме: «Re: Договор» от двух разных клиентов — это две переписки.

get/api/v1/mail/threads/{id}

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

Переписка вместе с письмами

MailThread required

Переписка: письма, связанные ответами. Склейка идёт по корню цепочки References, а не по теме.

id, string uuid required
account_id, string uuid required
subject, string required
root_ref, string required

Корневой Message-ID ветки

message_count, integer required
unread_count, integer required
has_attachments, boolean required
participants, MailMessageAddress[] required
last_message_at, string date-time required
messages, MailMessage[]

Changes

    • info

      added the optional property messages/items/is_auto 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

    6 more changes in this revision