Mailboxes

Download mailbox inbox attachment

Download a raw attachment blob from a mailbox inbox message. Blob IDs are query parameters because they can contain slash characters.

get/mailboxes/{id}/inbox/attachments

Request

  • Base URL: https://shipmail.to/api/v1
  • URL: https://shipmail.to/api/v1/mailboxes/{id}/inbox/attachments
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://shipmail.to/api/auth/oauth2/authorize, token URL https://shipmail.to/api/auth/oauth2/token)

Query parameters

blob_idstring required

JMAP attachment blob ID from an inbox thread response.

namestring

Suggested download filename. Defaults to attachment.

Headers

X-Shipmail-Organizationstring

OAuth access tokens only. The organization ID this request acts on. Required when the OAuth connection was approved for several organizations (400 validation_error without it); optional with one. An organization the connection was not approved for returns 403 authorization_error. Ignored for API keys, which belong to one organization.

Response

Attachment bytes.

Changes