Skip to main content

Downloading Attachments

Downloading inbox attachments

The GET /v3/safemail/inbox/{messageId}/attachment/{attachmentName} endpoint is used to download individual attachments of SafeMail inbox messages.

GET /v3/safemail/inbox/{messageId}/attachment/{attachmentName}
Authorization: Basic ${ base64(apiKey + ':' + secretKey) }
ParameterRequiredDescription
messageIdYesThe ID of the SafeMail inbox message.
attachmentNameYesThe name of the attachment.

Download outbox attachments

The GET /v3/safemail/outbox/{messageId}/attachment/{attachmentName} endpoint is used to download individual attachments of SafeMail outbox messages.

GET /v3/safemail/outbox/{messageId}/attachment/{attachmentName}
Authorization: Basic ${ base64(apiKey + ':' + secretKey) }
ParameterRequiredDescription
messageIdYesThe ID of the SafeMail outbox message.
attachmentNameYesThe name of the attachment.