Get Attachment Details of an Email
Purpose
This API is used to retrieve the details of all the attachments of a specific email using a message ID.
OAuth Scope
Use the scope
MailApps.messages.ALL (or) MailApps.messages.READ
ALL - Full access to the messages.
READ - Fetch the attachment details of the messages.
To generate Authtoken, refer here.
Request URL
Method: GET
https://mail360.zoho.com/api/accounts/{account_key}/messages/{messageId}/attachments
Path Parameters
- account_key* string
- This key is used to identify the account from which the attachments have to be retrieved. It is generated during account addition.
- This parameter can be fetched from Get all accounts API.
- messageId* long
- This is the unique key used to identify a specific email.
Query Parameters
- includeInline boolean
- This parameter specifies whether to include the inline attachment details in the response.
- The possible value can be
- true - include inline attachment.
- false - do not include inline attachment.
* - Mandatory parameter
Note:
While the Messages APIs focus on individual messages, the Threads APIs deal with entire conversation threads, each of which contains multiple messages.
Sample request
Copied
Sample response
Copied