latestOpenAPI 3.1.02026-08-1828105315.1 KB

cc009fec5cdd

Conversations

downloadConversationAttachments - Download attachments of a conversation

<div class="extension-title">Description</div>

Downloads a ZIP archive of the requested attachments from a conversation. ZIP archive contains all matching attachments with the following structure :

├── <message_id_1>/
│   ├── <attachment_id_1>/
│   │   └── <filename1>
│   └── <attachment_id_2>/
│       └── <filename2>
└── <message_id_2>/
    └── <attachment_id_3>/
        └── <filename3>

The zip file will be named with the following pattern : <conversation_id>attachments<timestamp>.zip

Unknown or deleted attachments are silently skipped.

<div class="api-description-extension"> </div>
get/conversations/{conversationId}/attachments

Path parameters

conversationIdstring required

The ID of the conversation from listConversations API.

Query parameters

attachment_idsstring[]

A list of attachment ID to retrieve. If not specified, all attachments of the conversation are returned.

Response

ZIP archive of the requested attachments