Plain text content of the email body.
Send Email
Send a transactional email to one or more recipients.
Endpoint
Request URL
https://cpaas.zoho.com/v1.1/email Copied!
Request Parameters
- Request Headers
API Key of an agent. Send the header as Authorization: Zoho-enczapikey {apiKey}.
Follow the steps here to generate an API key.
- Request Body
application/json
Show Sub-Attributes
The sender's email address and optional display name.
Array of recipient email addresses.
Array of CC recipient email addresses.
Array of BCC recipient email addresses.
Reply-to email address.
Subject line of the email.
HTML content of the email body.
Array of file attachments.
Base64-encoded file content.
Array of inline images embedded in the email body.
Base64-encoded image content.
Enable or disable click tracking.
Enable or disable open tracking.
A custom reference string to identify the email in your system.
Custom MIME headers to add to the email.
Sample Request
curl --request POST \
--url https://cpaas.zoho.com/v1.1/email \
--header 'Authorization: REPLACE_KEY_VALUE' \
--header 'content-type: application/json' \
--data '{"from":{"address":"accounts@info.zylker.com","name":"Paula"},"to":[{"email_address":{"address":"rudra.d@zylker.com","name":"Rudra"}}],"cc":[{"email_address":{"address":"manager@zylker.com","name":"Manager"}}],"bcc":[{"email_address":{"address":"archive@zylker.com","name":"Archive"}}],"reply_to":[{"address":"support@zylker.com","name":"Support"}],"subject":"Account Confirmation","htmlbody":"<div><b>Kindly click on Verify Account to confirm your account.</b></div>","textbody":"Kindly click on Verify Account to confirm your account.","attachments":[{"file_cache_key":"fc-xxxx-xxxx","mime_type":"application/pdf","name":"invoice.pdf","content":"string"}],"inline_images":[{"mime_type":"image/png","name":"logo.png","content":"string","cid":"logo"}],"track_clicks":true,"track_opens":true,"client_reference":"order-12345","mime_headers":{"property1":"string","property2":"string"}}'Sample Request Body
{
"from": {
"address": "accounts@info.zylker.com",
"name": "Paula"
},
"to": [
{
"email_address": {
"address": "rudra.d@zylker.com",
"name": "Rudra"
}
}
],
"cc": [
{
"email_address": {
"address": "manager@zylker.com",
"name": "Manager"
}
}
],
"bcc": [
{
"email_address": {
"address": "archive@zylker.com",
"name": "Archive"
}
}
],
"reply_to": [
{
"address": "support@zylker.com",
"name": "Support"
}
],
"subject": "Account Confirmation",
"htmlbody": "<div><b>Kindly click on Verify Account to confirm your account.</b></div>",
"textbody": "Kindly click on Verify Account to confirm your account.",
"attachments": [
{
"file_cache_key": "fc-xxxx-xxxx",
"mime_type": "application/pdf",
"name": "invoice.pdf",
"content": "string"
}
],
"inline_images": [
{
"mime_type": "image/png",
"name": "logo.png",
"content": "string",
"cid": "logo"
}
],
"track_clicks": true,
"track_opens": true,
"client_reference": "order-12345",
"mime_headers": {
"property1": "string",
"property2": "string"
}
}
Response Parameters
- HTTP code 200
Response Body - application/json
Show Sub-Attributes
- HTTP code 400
Response Body - application/json
Show Sub-Attributes
Show Sub-Attributes
Sample Response: HTTP 200
{
"data": [
{
"code": "EM_104",
"additional_info": [
{
"to": {
"email_address": {}
}
}
],
"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.