Mail

Download an attachment

One attachment's file, fetched from the member's mailbox, with its type in Content-Type and its file name in Content-Disposition. Only attachments of messages the key can see (never drafts). Each download counts against the member's Gmail or Outlook quota, so fetch files you need rather than every file on every sync.

Scope: mail.content.read. Rate limit class: attachment (120/minute per key).

get/v1/attachments/{inbox_id}/{message_id}/{attachment_id}

Request

  • Base URL
    https://api.slashy.com
  • URL
    https://api.slashy.com/v1/attachments/{inbox_id}/{message_id}/{attachment_id}
  • Auth
    HTTP bearer

Path parameters

inbox_idstring uuid required

An inbox id from /v1/inboxes.

message_idstring required

Message.id.

attachment_idstring required

Attachment.id from /v1/threads, or an entry of attachment_ids in an export.

Response

The file. Content-Type is the attachment's type.

Changes

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