Conversations
downloadConversationAttachments - Download attachments of a conversation
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
Request
- Base URLhttps://miraklconnect.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 5 revisions of this API.