Unibox
Download a unibox message attachment
Downloads an attachment from a unibox message, returned as base64 with its MIME type. Each call fetches the attachment live from the connected LinkedIn account (through Unipile). Needs the inbox:read scope.
To keep that account healthy, download each attachment once and cache it on your side rather than calling this endpoint repeatedly. Limited to 10 downloads per minute per workspace (429 with a Retry-After header beyond that).
Attachment ids are listed in each message's attachments. Only seats connected through Unipile have downloadable attachments.
get
https://app.replysparrow.com/api/v1/unibox/messages/{message_id}/attachments/{attachment_id}Authorizations
Path Parameters
Message id
Attachment id, from the message's attachments
Response
application/jsonCtrl+I
Download a unibox message attachment
curl --request GET \ --url https://app.replysparrow.com/api/v1/unibox/messages/string/attachments/string \ --header 'Authorization: Bearer <token>'{ "base64": "iVBORw0KGgoAAAANSUhEUgAA…", "mime_type": "image/png"}