CRM inbox

Получить вложения сообщения

Changed on

Возвращает вложения указанного сообщения.

get/api/v1/crm/inbox/messages/{id}/attachments

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

Вложения без ключей хранилища

CRMInboxAttachment[] required
id, string uuid required
message_id, string uuid required
filename, string required
content_type, string required
size_bytes, integer required
scan_status, 'pending' | 'clean' | 'infected' | 'skipped' required

Вердикт антивируса: clean — файл прошёл сессию загрузки; skipped — антивирус его не проверял (форма или файл до проверок). Ссылку на скачивание получают только clean и skipped

created_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