# Retrieve a list of all managed users Get list of managed users ## Endpoints `GET /api/v1/mdm/users` ## Request URL `https://[{serverurl}](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)/api/v1/mdm/users` ## Scope `MDMOnDemand.MDMUser.READ` ## Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory**: `application/json` ### Query Parameters - **limit** `integer` — Optional - Maximum number of records to return in a single response. Used together with offset for pagination - **skip-token** `string` — Optional - Pagination continuation token returned by a previous response. Pass it to fetch the next page of results - **offset** `integer` — Optional - Zero-based index of the first record to return. Used together with limit for pagination - **delta-token** `string` — Optional - Token used for delta/incremental fetches. Pass the token returned from a previous response to retrieve only items modified since that point - **search** `string` — Optional - Free-text search string applied to the default searchable fields of the resource - **user_identifier** `string` — Optional - **include** `string` — Optional - Comma-separated list of related fields to include in the response (e.g., assigned_to, payload_details). When omitted, only top-level fields are returned - **user_type** `string` — Optional - Filter results by user type. Allowed values: 1=Domain User, 2=Local User, 3=Active Directory User, 4=Azure AD User - **select_all** `boolean` — Optional - When true, applies the operation to every record matching the current filter rather than to specific IDs. Default: false ## Sample Request ### Curl ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/users \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP code 200 #### Response Body — application/json `JSON object` - **users** `JSON array` - Array of managed user objects - **metadata** `JSON object` - Metadata about the result set including total record count - **paging** `JSON object` - Pagination links for navigating result pages ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 ### List of managed users with pagination ```json { "metadata": { "total_record_count": "2" }, "paging": { "next": "https://appDomain/api/v1/mdm/users?skip-token=NDo1OjE6MTU2ODcyMzM5NjUwOQ%3D%3D" }, "users": [ { "user_email": "email_address@zylker.com", "domain_name": "mdm", "user_id": "9007199254740999", "user_name": "admin", "phone_number": "+1-555-0****99", "device_count": 0 }, { "user_email": "john.doe@zylker.com", "domain_name": "mdm", "user_id": "9007199254741000", "user_name": "Zylker User", "phone_number": "+1-555-****12", "device_count": 2 } ] } ``` ### No managed users found ```json { "metadata": { "total_record_count": "0" }, "paging": {}, "users": [] } ``` ## API Rate Limits ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.