Opens Event Report API
You can use this API to view the reports on opens for a given time period or for a particular contact email.
Request Type
- GET
Request URL
https://campaigns.zoho.com/emailapi/v2/reports/event/open
Content Type
application/json
List of Request Body Attributes
Parameters | Data Type | Description |
from | Long | Starting time for the reports. Defaults to the starting time of the last 7 days if not provided. |
to | Long | Ending time for the reports. Defaults to the ending time of the last 7 days if not provided. |
String | Email address for which the reports must be obtained. | |
start_index | Integer | Starting index of the number of objects to be obtained. Defaults to 1 if not provided. |
end_index | Integer | Ending index of the number of objects to be obtained. Defaults to 100 if not provided. |
List of Response Body Attributes
Parameters | Data Type | Description |
data | JSON Array | Contains the details of the report. |
action_time | Long | Time at which the open event happened. |
injected_time | Long | Time at which the transmission* was created. |
rcpt_additional_data | JSON Object | Additional data of the recipient that was provided by you in Transmission API or Recipient List API. |
transmission_id | Integer | Unique, system generated ID of the transmission. |
contact_id | Integer | Unique, system generated ID of the contact/recipient. |
transmission_name | String | Name of the transmission. |
zuid | Integer | Zoho User ID of the user who created the transmission. |
contact_email | String | Email address of the contact/recipient. |
response | JSON Object | Contains the response details of the API. |
code | Integer | Success or failure code. |
message | String | Success or failure message returned by the API. |
errors | JSON Array | Contains the error details of the API such as 'code' and 'message'. |
* - transmission refers to a campaign
Possible Error Cases
Error Codes | Description |
400301 | Date range incorrect/not provided |
400302 | Invalid index parameter(s) |
400303 | Date range exceeds the allowed limit |
400304 | Invalid contact email |
Sample Request Payload
Copied
Sample Response - Success
Copied
Sample Response - Failure
Copied