email management
Send Batch Emails
Send a batch of transactional emails to multiple recipients at once.
post/email/batch
Request
- Base URLhttps://cpaas.zoho.com/v1.1
- AuthAPI key in header Authorization
Request body
Example request
{
"cc": [
{
"email_address": {
"address": "manager@zylker.com",
"name": "Manager"
}
}
],
"htmlbody": "<div><b>Kindly click on Verify Account to confirm your account.</b></div>",
"client_reference": "order-12345",
"bcc": [
{
"email_address": {
"address": "archive@zylker.com",
"name": "Archive"
}
}
],
"attachments": [
{
"mime_type": "application/pdf",
"name": "invoice.pdf",
"content": "JVBERi0xLjQKJcTl8uXrp... (base64-encoded bytes)"
},
{
"file_cache_key": "ea36f19a.a59e41437e3e1a1.h1.bbeabef0-d2c5-11f1-8876-2a30dd3b833c.1a18258b05f",
"name": "terms.pdf"
}
],
"subject": "Account Confirmation",
"bounce_address": "bounce@bounce-zem.zylker.com",
"track_opens": true,
"reply_to": [
{
"address": "support@zylker.com",
"name": "Support"
}
],
"from": {
"address": "accounts@info.zylker.com",
"name": "Paula"
},
"to": [
{
"email_address": {
"address": "rudra.d@zylker.com",
"name": "Rudra"
}
}
],
"textbody": "Kindly click on Verify Account to confirm your account.",
"track_clicks": true
}Response
Batch email sent successfully.
Example response
{
"data": [
{
"code": "EM_104",
"message": "OK"
}
],
"message": "OK",
"request_id": "req-xxxx"
}Changes
No recorded changes to this operation across all 1 revision of this API.