Downloading Attachments
Download 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) }
Parameter | Required | Description |
---|---|---|
messageId | Yes | The ID of the SafeMail inbox message. |
attachmentName | Yes | The 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) }
Parameter | Required | Description |
---|---|---|
messageId | Yes | The ID of the SafeMail outbox message. |
attachmentName | Yes | The name of the attachment. |