mail

Download an attachment

Scope: read. Pending claim keys allowed. Served with the attachment's Content-Type and an attachment Content-Disposition. 413 attachment_too_large over 25 MB.

get/v1/messages/{id}/attachments/{attachment_id}

Request

  • Base URL: https://botmail.pro
  • URL: https://botmail.pro/v1/messages/{id}/attachments/{attachment_id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie bm_session

Path parameters

idstring required
attachment_idstring required

Query parameters

disposition'inline'

inline is honored only for png, jpeg, gif and webp.

Response

Attachment bytes with the stored Content-Type.

Changes

No recorded changes to this operation across all 1 revision of this API.