Get List of Canned response Categories
Description
You can use this API to get a list of canned response categories.
Query Parameters:
- limit : To specify the number of canned response categories to fetch per page. The default limit is 20 and the maximum limit is 99.
- page : To specify the page number. The value starts from 1, you can increase the number as you wish to fetch the canned response categories. You can set the limit to be maximum at 99.
- sort_by : To sort the canned responses based on name. This should be specified along with the order.
- order : You can use ascending or descending to sort the canned responses order. This param is mandatory if sort_by param is used.
OAuth Scope:
SalesIQ.cannedresponses.READ
URL
Copied https://{zohosalesiq_server_uri}/v2/portal_name/cannedresponsecategories?sort_by=name&order={ascending|descending}
Example
Copied https://salesiq.zoho.com/api/v2/zylker-inc/cannedresponsecategories?sort_by=name&order=ascending
Sample Response
Copied{
"url": "/api/v2/zylker-inc/cannedresponsecategories",
"object": "list",
"data":[
{
"owner": "Patricia",
"owner_id": "53400000000002001",
"name": "General",
"created_time": "1568827989021",
"modified_time": "1578313645056",
"id": "53400000000328033",
"is_default":"true"
},
{
"owner": "Patricia",
"owner_id": "53400000000002001",
"name": "Zylker Coupons",
"created_time": "1568888396790",
"modified_time": "1578313644076",
"id": "53400000000333001",
"is_default":"false"
}
]
}