Attachments

Download an Attachment

Changed on

Returns and downloads the specified attachment.

get/v3/grants/{grant_id}/attachments/{attachment_id}/download

Request

  • Base URL
    https://api.us.nylas.com
  • Auth
    • HTTP bearer
    • or HTTP bearer

Query parameters

query_imapboolean

(IMAP, Yahoo, and iCloud only) When true, Nylas downloads the attachment directly from the IMAP server instead of the Nylas database.

Response

The attached file as a binary stream (application/octet-stream). Use the Return Attachment Metadata endpoint to get the MIME type of the file.

Changes