Get Email Notification Actions Usage Report
Purpose
To retrieve usage statistics for email notification actions executed in Zoho CRM over the last seven days.
Endpoints
- GET /settings/automation/email_notifications/actions/usage_reports?group_by={group_by_values}
Request Details
Request URL
{api-domain}/crm/{version}/settings/automation/email_notifications/actions/usage_reports
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
ZohoCRM.settings.automation_actions.ALL
(or)
ZohoCRM.settings.automation_actions.READ
Parameters
- group_bystring, mandatory
Specify the criteria to group the usage data. Please note that date is mandatory, and you can optionally include other values separated by commas.
Possible values:- date (mandatory) - To group the usage data by date, showing how many email notifications were sent on each day.
- resource -To group data by both date and the resource that triggered the email notification. When using this value, you must also specify the type parameter to indicate the type of resource.
- type - To add the type field in the response, indicating the type of resource by which the data is grouped. This value must be included only when resource is also specified.
- typestring, conditional
Specify the type of resource to filter or group the usage data. This parameter is mandatory when resource is included in the group_by value.
Possible values:- email_notifications - To get usage data for individual email notification actions. Each result represents a specific email notification configured in your workflows.
- modules - To group usage by CRM modules.
- wizards - To group usage by wizards.
- email_templates - To group usage by email templates.
- {automation_featurename} - Use this value to retrieve usage data specific to an automation feature. Supported feature names are workflow_rules, approval_process, blueprint, orchestrations, kiosks, and cadences.
- fromstring, optional
The start date in YYYY-MM-DD format, from which usage details are to be fetched..
- tostring, optional
The end date in YYYY-MM-DD format, up to which usage details are to be retrieved.
- pageinteger, optional
The page number for pagination. Default value is 1.
- per_pageinteger, optional
Number of records per page. The default and maximum value is 200.
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v8/settings/automation/email_notifications/actions/usage_reports?group_by=date,resource,type&type=email_notifications"
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
-X GETResponse JSON
The response body will contain the data_usage array containing usage statistics grouped according to the group_by parameter. Depending on the parameters, this array will have some or all of the following keys:
- datestring
The date on which the email notifications were triggered. This key will be returned in the response when date is included in group_by.
- countinteger
The number of email notifications executed for the given grouping.
- resourceJSON object
The type of resource or action, such as email_notifications, modules, or workflow_rules when resource is included in group_by parameter.
- typeJSON object
The resource type when type is included in group_by.
Possible Errors
- INVALID_REQUEST_METHODHTTP 400
The http request method type is not a valid one
Resolution: This API supports only the GET method. Retry the request using the GET method. - INVALID_DATAHTTP 400
The value provided to the param is Invalid
Resolution: Specify valid values for all parameters. - REQUIRED_PARAM_MISSINGHTTP 400
One of the expected parameter is missing
Resolution: Specify all the mandatory parameters. - OAUTH_SCOPE_MISMATCHHTTP 401
Unauthorized
Resolution: Client does not have the required OAUTH SCOPE. Create a new token with valid scope. Refer to the Scope section for more details. - INVALID_URL_PATTERNHTTP 404
Please check if the URL trying to access is a correct one
Resolution: The request URL specified is incorrect. Specify a valid request URL. Refer to request URL section for more details. - INTERNAL_ERRORHTTP 500
Internal Server Error
Resolution: Unexpected and unhandled exception in Server. Contact support team.
Sample Response
Copied{
"data_usage": [
{
"date": "2025-10-23",
"resource": {
"name": "WF-C",
"id": "4876876000010792012"
},
"count": 1,
"type": "email_notifications"
},
{
"date": "2025-10-21",
"resource": {
"name": "WF-C",
"id": "4876876000010792012"
},
"count": 1,
"type": "email_notifications"
},
{
"date": "2025-10-17",
"resource": {
"name": "High revenue Lead added",
"id": "4876876000016390103"
},
"count": 7,
"type": "email_notifications"
},
{
"date": "2025-10-17",
"resource": {
"name": "WF-C",
"id": "4876876000010792012"
},
"count": 2,
"type": "email_notifications"
}
],
"info": {
"max_limit": 2500,
"per_page": 200,
"count": 4,
"page": 1,
"more_records": false
}
}