Skip to main content
GET
Download a unibox message attachment

Authorizations

Authorization
string
header
required

API key from Settings → API. Send it as Authorization: Bearer .

Headers

x-impersonate-user-id
string

ID of an organization member to act on behalf of. The API key user must be the owner of the organization and the target user must belong to the same organization.

Path Parameters

messageId
string
required
attachmentId
string
required

Response

Attachment downloaded successfully, returned as base64 with its mime type.

base64
string
required

Attachment bytes, base64-encoded

mimeType
string
required

MIME type of the attachment