Get Email Content
Purpose
This API is used to retrieve the content of a specific email using the message ID.
OAuth Scope
Use the scope
MailApps.messages.ALL (or) MailApps.messages.READ
ALL - Full access to the messages.
READ - Read the messages using the message ID.
To generate Authtoken, refer here.
Request URL
Method: GET
https://mail360.zoho.com/api/accounts/{account_key}/messages/{messageId}/content
Path Parameters
- account_key* string
- This key is used to identify the account from which the emails have to be retrieved. It is generated during account addition.
- This parameter can be fetched from Get all accounts API.
- messageId* long
- This is a unique key used to identify a specific email.
Query Parameters
- includeBlockContent boolean
- This parameter specifies whether the block content needs to be included or not.
- The possible value can be
- true - include block content.
- false - do not include block content.
* - 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
Sample Failure Response
Copied