email templates
Update Email Template
Update an existing email template in your CPaaS account.
put/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.UPDATE
- 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.
Request body
Example request
{
"htmlbody": "<h1> Hi User </h1>, Welcome aboard",
"template_name": "E-invite",
"subject": "Invitation to the event"
}Response
Template updated successfully.
Example response
{
"data": {
"template_key": "1234567890",
"template_name": "E-invite (new)"
},
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.