- Overview
- What's New in V5?
- Changelog
- OAuth Authentication
- Multi DC Support
- GDPR Compliance
- HIPAA Compliance
- HTTP Request Methods
- Status Codes
- Metadata APIs
- GETModule
- GETFields
- GETLayouts
- GETRelated 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
- Shift Hours
- REST APIs
- Modules
- 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 100xx.92d4xxxxxxxxxxxxx15f52
Scope
scope=ZohoCRM.settings.territories.All
(and)
scope=ZohoCRM.users.All
Sample Request
Copiedcurl "https://www.zylkercorp.zohoplatform.com/crm/v5/settings/territories/actions/associated_users_count"
-X GET
-H "Authorization: Zoho-oauthtoken 100xx.d92d4xxxxxxxxxxxxx15f52"
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.