Attachments
Nylas Attachments API
The Nylas Attachments API allows you to fetch attachment metadata and download data.
Parameters
client
The configured Nylas API client
Functions
Link copied to clipboard
public final ResponseBody download(String identifier, String attachmentId, FindAttachmentQueryParams queryParams)
Download the attachment data
Link copied to clipboard
public final ByteArray downloadBytes(String identifier, String attachmentId, FindAttachmentQueryParams queryParams)
Download the attachment as a byte array
Link copied to clipboard
public final Response<Attachment> find(String identifier, String attachmentId, FindAttachmentQueryParams queryParams)
Return metadata of an attachment