Get All Email Logs
Retrieve a list of outgoing email logs from your ZeptoMail account. Supports filtering by date range, recipient, subject, and more. Logs are retained for 60 days.
Endpoint
Request URL
https://api.zeptomail.com/v1.1/email Copied!
Scope
Request Parameters
- Query Parameters
Filter logs by Mail Agent key.
Filter by a specific request ID.
Filter logs from this date and time (format: dd/MM/yyyy, hh:mm a).
Filter logs up to this date and time (format: dd/MM/yyyy, hh:mm a).
Filter by sender email address.
Filter by recipient email address.
Filter by CC email address.
Filter by BCC email address.
Filter by any recipient (To, CC, or BCC).
Starting position for pagination.
Number of logs to return per request.
Filter by email subject.
Filter by custom client reference.
Filter for hard bounced emails.
Filter for soft bounced emails.
Filter for failed emails.
Filter for delivered emails.
Sample Request
curl --request GET \
--url 'https://api.zeptomail.com/v1.1/email?mailagent_key=123456abcd78&request_id=req-xxxx&date_from=01/06/2025, 12:00 AM&date_to=30/06/2025, 11:59 PM&from=accounts@info.zylker.com&to=rudra.d@zylker.com&cc=manager@zylker.com&bcc=archive@zylker.com&recipient=user@example.com&offset=0&limit=25&subject=Account Confirmation&client_reference=order-12345&is_hb=SOME_BOOLEAN_VALUE&is_sb=SOME_BOOLEAN_VALUE&is_mailfailure=SOME_BOOLEAN_VALUE&is_delivered=SOME_BOOLEAN_VALUE' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Response Parameters
- HTTP code 200
Response Body - application/json
Show Sub-Attributes
Show Sub-Attributes
Show Sub-Attributes
- HTTP code 400
Response Body - application/json
Possible Response Codes
List of email logs.
Bad Request
Sample Response: HTTP 200
{
"data": [
{
"email_reference": "ref-xxxx-xxxx",
"sent_time": "2025-06-04T08:19:00Z",
"subject": "Account Confirmation",
"from": "accounts@info.zylker.com",
"to": "rudra.d@zylker.com",
"request_id": "req-xxxx",
"mailagent_key": "123456abcd78",
"status": "delivered"
}
],
"status": "success"
}
Sample Response: HTTP 400
{
"error": {
"code": "EL_404",
"message": "Email log not found"
},
"status": "failure"
}
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.