Get Notification Details
Purpose
To get the details of the notifications enabled by the user.
Request URL
https://www.zohoapis.com/crm/v2/actions/watch
Request Method
GET
Scope
scope=ZohoCRM.notifications.{operation_type}
Possible operation types |
---|
ALL - Full access to notification data READ - Get notification details |
Parameters
Parameter Name | Data Type | Description |
---|---|---|
page (optional) | Integer | To get the list of records from the respective pages. Default value is 1. |
per_page (optional) | Integer | To get the list of records available per page. Default value is 200. |
channel_id (mandatory) | Integer | Specify the unique ID of the notification channel. |
module | String | Specify the API name of the module for which the notification is enabled. |
Note:
Use the page and per_page parameter to fetch records according to their position in the CRM. Let's assume that the user has to fetch 400 records. The maximum number of records that one can get for an API call is 200. So, for records above the 200th position, they cannot be fetched. By using the page (1, 2, 3 and 4) and per_page (100) parameter, the user can fetch all 400 records using 4 API calls.
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v2/actions/watch?page=1&per_page=200"
-X GET
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"