- Overview
- What's New in V5?
- Changelog
- API Directory
- API Collection
- OAuth Authentication
- API Limits
- Multi DC Support
- Increase API Credits
- Customize API Usage Notification
- GDPR Compliance
- HIPAA Compliance
- API Dashboard
- HTTP Request Methods
- Status Codes
- Metadata APIs
- Modules
- Fields
- Layouts
- Related Lists
- Profiles
- Custom View
- Roles
- Territories
- GETTerritories
- POSTTerritories
- PUTTerritories
- DELETETerritories
- POSTTransfer and Delete Territories
- GETChild Territories of a Territory
- POSTAssign Territories to Records
- GETTerritories Assigned
- POSTRemove Territories of Records
- GETAssociated User Count
- PUTAssociate Users with Territory
- DELETEDisassociate Users from Territory
- GETRetrieve User details Associated with a Territory
- Scoring Rules
- Variables
- Map Dependency
- User Groups
- Tags
- Pipeline
- Wizards
- Assignment Rules
- Templates
- User's Unavailability
- Portals
- Fiscal Year
- Business Hours
- Holidays
- Record Locking Configuration
- Shift Hours
- Entity APIs
- Organization
- Users
- Records
- Related Records
- Records APIs using External ID
- Meeting Cancel
- Subforms
- Linking Modules
- Contact Roles
- Photos and Attachments
- Mass Update
- Mass Delete
- Currencies
- Files
- Share
- Fields' Attachments
- Change Owner
- Mass Change Owner
- Blueprint
- Emails
- Notes
- Related Records Using External ID
- Composite API
- Bulk APIs
- Notification APIs
- Query API
Associated User Count
Purpose
To retrieve the count of users under the territories in your organization.
Request Details
Request URL
{api-domain}/crm/{version}/settings/territories/actions/associated_users_count
Header
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.territories.All
(and)
scope=ZohoCRM.users.All
Sample Request
Copiedcurl "https://www.zohoapis.com/crm/v5/settings/territories/actions/associated_users_count"
-X GET
-H "Authorization: Zoho-oauthtoken 1000.8cb99dxxxxxxxxxxxxx9be93.9b8xxxxxxxxxxxxxxxf"
Response JSON Keys
- countnumber
Represents the number of users associated to the territory.
- territoryJSON Object
Represents the name and ID of the territory.
Sample Response
Copied{
"associated_users_count": [
{
"count": "1",
"territory": {
"name": "Zoho",
"id": "431581000000272796"
}
},
{
"count": "2",
"territory": {
"name": "Chennai",
"id": "431581000000744113"
}
},
{
"count": "1",
"territory": {
"name": "Chennai-South",
"id": "431581000000744125"
}
},
{
"count": "1",
"territory": {
"name": "Chennai North",
"id": "431581000000744137"
}
},
{
"count": "1",
"territory": {
"name": "Parent",
"id": "431581000000744159"
}
},
{
"count": "1",
"territory": {
"name": "Child",
"id": "431581000000744169"
}
},
{
"count": "1",
"territory": {
"name": "Chennai Leads",
"id": "431581000000744183"
}
}
],
"info": {
"per_page": 200,
"count": 7,
"page": 1,
"more_records": false
}
}
Show full
Show less
© 2025, Zoho Corporation Pvt. Ltd. All Rights Reserved.