Attachments
Download an Attachment
Changed onReturns and downloads the specified attachment.
get/v3/grants/{grant_id}/attachments/{attachment_id}/download
Request
- Base URLhttps://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
- info
added the optional property
/to the response with the status
- info