email templates
Get Email Template
Fetch details of a specific email template using its template key or alias.
get/mailagents/{mailagent-alias}/templates/{template-key}
Request
- Base URLhttps://cpaas.zoho.com/v1.1
- Auth
- OAuth 2Authorization code: https://accounts.zoho.com/oauth/v2/authToken URL: https://accounts.zoho.com/oauth/v2/token scopes: Zeptomail.MailTemplates.READ
- or OAuth 2Authorization code: https://accounts.zoho.com/oauth/v2/authToken URL: https://accounts.zoho.com/oauth/v2/token scopes: Zeptomail.MailTemplates.ALL
Path parameters
mailagent-aliasstring required
Example:your-mailagent-alias
Unique alias of the Mail Agent.
template-keystring required
Example:1234567890
Unique key of the email template.
Response
Email template details.
Example response
{
"data": {
"htmlbody": "<h1> Hi User </h1>, Welcome aboard",
"template_key": "1234567890",
"template_name": "E-invite",
"subject": "Invitation to the event",
"template_alias": "invitemail"
},
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.