- REST API Overview
- Prerequisite
- Operators
- Portals
- Departments
- Articles
- Articles Category
- Canned Response
- Canned Response Category
- Lead Scoring Rule
- postCreate Lead Scoring Rule
- putUpdate Lead Scoring Rule Details
- putEnable/Disable Lead Scoring Rule
- deleteDelete Lead Scoring Rule
- getList Lead Scoring Rules
- getDetails of Lead Scoring Rule
- getFrequency Details of Lead Scoring Rule
- PutUpdate Frequency Details of Lead Scoring Rule
- getLead Scoring Module Fields Criteria
- Visitor Routing
- postAdd Visitor Routing Rule
- getList Visitor Routing Rule
- getVisitor Routing Rule details
- putUpdate Visitor Routing Rule Details
- putEnable/Disable Visitor Routing Rule
- putUpdate Visitor Routing Rule Order
- deleteDelete Visitor Routing Rule
- getVisitor Routing Rule Configurations
- putUpdate Common Visitor Routing Rule
- getVisitor Routing Module Fields Criteria
- Chat Routing
- Blocked IPs
- Chat Monitor
- Zobot
- Apps
- Feedback
- Tracking Preset
- Visitor History View
- Intelligent Trigger Rule
- postCreate Intelligent Trigger Rule
- getList Intelligent Trigger Rules
- getIntelligent Trigger Rule Details
- putUpdate Intelligent Trigger Rule Details
- putEnable/Disable Intelligent Trigger
- putChange Intelligent Trigger Rule Order
- deleteDelete Intelligent Trigger Rule
- getIntelligent Trigger Module Fields Criteria
- Chat
- Calls
- Visitor
- Tags
- Webhooks
- getWebhooks List
- getWebhook Details
- postCreate Webhook
- putUpdate a Webhook
- deleteDelete a Webhook
- postGenerate Public Key
- deleteDelete a Public Key
- postAdd an Event
- deleteRemove Events
- postAdd Apps
- deleteRemove Apps
- getFailed Execution List
- postRetry Failed Execution
- deleteDelete the Failed Executions
- POSTExport Failed Executions
- getWebhook Summary
- getWebhook Execution Summary
- Callbacks
- Encryptions
Get List of All the Departments
Description
You can use this API to get a list of all the departments in the portal.
Query Parameters
- last_sync_time: To retrieve the list of departments that have been modified after the provided time
- index: As the operator list is limited to 20 per fetch, you can use this param to fetch the next set of operators.
Note: If the index is not provided, then it will be taken as 1 by default.
OAuth Scope:
SalesIQ.departments.READ
URL
Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screen name}/departments
Example
Copiedhttps://salesiq.zoho.com/api/v2/zylker-inc/departments
Success Response
Copied{
"url": "/api/v2/zylker-inc/departments",
"object": "list",
"CRC": "3033299196",
"data": [
{
"modified_time": "1524140963982",
"name": "zylker-furnitures",
"id": "32308000000002013",
"is_enabled": "true",
"created_by": "32308000000002001",
"is_public": "true",
"is_system_generated": "true",
"created_time": "1524140963982",
"description": "World's best furniture brand",
"display_name": "Zylker Furnitures"
},
{
"modified_time": "1524153090418",
"name": "Zylker-Fashions",
"id": "32308000000004023",
"is_enabled": "true",
"created_by": "32308000000003031",
"is_public": "true",
"is_system_generated": "false",
"created_time": "1524145532849",
"description": "World's best available fashion brand",
"display_name": "Zylker Fashions"
}
],
"sync_time": "1524153096249"
}
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.