Send Email Using Template
Send a transactional email using a pre-created ZeptoMail template.
Endpoints
Request URL
https://api.zeptomail.com/v1.1/email/template
Request Parameters
- Request Headers
Send Mail Token. Pass it with the prefix: Zoho-enczapikey
- Request Body
application/json
Show Sub-Attributes
Array of CC recipient email addresses.
Show Sub-Attributes
Unique key of the email template. Use either template_key or template_alias.
A custom reference string to identify the email in your system.
Array of BCC recipient email addresses.
Show Sub-Attributes
Array of file attachments.
Show Sub-Attributes
Base64-encoded file content.
Reply-to email address.
The sender's email address and optional display name.
Enable or disable open tracking.
Alias of the email template. Use either template_alias or template_key.
Array of recipient email addresses.
Show Sub-Attributes
Enable or disable click tracking.
Sample Request
curl --request POST \
--url https://api.zeptomail.com/v1.1/email/template \
--header 'Authorization: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"cc":[{"email_address":{"address":"manager@zylker.com","name":"Manager"}}],"template_key":"1234567890","client_reference":"order-12345","bcc":[{"email_address":{"address":"archive@zylker.com","name":"Archive"}}],"attachments":[{"file_cache_key":"fc-xxxx-xxxx","mime_type":"application/pdf","name":"invoice.pdf","content":"string"}],"reply_to":[{"address":"support@zylker.com","name":"Support"}],"merge_info":{"account_id":"98765","user_name":"Rudra"},"from":{"address":"accounts@info.zylker.com","name":"Paula"},"track_opens":true,"template_alias":"account-confirmation","to":[{"email_address":{"address":"rudra.d@zylker.com","name":"Rudra"}}],"track_clicks":true}'Sample Request Body
{
"cc": [
{
"email_address": {
"address": "manager@zylker.com",
"name": "Manager"
}
}
],
"template_key": "1234567890",
"client_reference": "order-12345",
"bcc": [
{
"email_address": {
"address": "archive@zylker.com",
"name": "Archive"
}
}
],
"attachments": [
{
"file_cache_key": "fc-xxxx-xxxx",
"mime_type": "application/pdf",
"name": "invoice.pdf",
"content": "string"
}
],
"reply_to": [
{
"address": "support@zylker.com",
"name": "Support"
}
],
"merge_info": {
"account_id": "98765",
"user_name": "Rudra"
},
"from": {
"address": "accounts@info.zylker.com",
"name": "Paula"
},
"track_opens": true,
"template_alias": "account-confirmation",
"to": [
{
"email_address": {
"address": "rudra.d@zylker.com",
"name": "Rudra"
}
}
],
"track_clicks": true
}
Response Parameters
- HTTP code 200
Response Body - application/json
- HTTP code 400
Response Body - application/json
Possible Response Codes
Email sent using template successfully.
Bad Request
Sample Response: HTTP 200
{
"data": [
{
"code": "EM_104",
"message": "OK"
}
],
"message": "OK",
"request_id": "req-xxxx"
}
Sample Response: HTTP 400
{
"data": {
"error_code": "TM_3004",
"message": "Invalid request"
},
"message": "error"
}
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.