# Retrieve a list of all MDM profiles Get the profile detail list ## Endpoints `GET /api/v1/mdm/profiles` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/profiles` ## Scope `MDMDeviceMgmt.READ` ## Header `Authorization: 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. - **trashed** `boolean` — Optional When true, includes items that are in trash along with active items. Default: false. - **trash_only** `boolean` — Optional When true, returns only items currently in trash. When false, excludes trashed items. Default: false. - **search** `string` — Optional Free-text search string applied to the default searchable fields of the resource. - **platform** `string` — Optional Filter results by device platform. Allowed values: 1 or ios, 2 or android, 3 or windows, 4=macOS, 5 or chrome, 6=tvOS. Supports comma-separated multiple values. - **profile_status_id** `long` — Optional Filter profiles by status ID. Allowed values: 1=Draft, 2=Published, 3=Archived. - **summary** `boolean` — Optional When true, returns only a lightweight summary projection of the resource instead of full details. Default: false. - **modernmanagement** `boolean` — Optional When true, returns only modern-management (MDM) profiles. When false, returns legacy/agent-based profiles. Default: false. - **createdormodifiedbyme** `boolean` — Optional When true, returns only resources created or last modified by the authenticated user. Default: false. - **config_ids** `string` — Optional Comma-separated list of configuration IDs to filter the response by. ## Sample Request ```curl curl --request GET \ --url 'https://appdomain/api/v1/mdm/profiles?limit=SOME_INTEGER_VALUE&skip-token=SOME_STRING_VALUE&offset=SOME_INTEGER_VALUE&delta-token=SOME_STRING_VALUE&trashed=SOME_BOOLEAN_VALUE&trash_only=SOME_BOOLEAN_VALUE&search=SOME_STRING_VALUE&platform=SOME_STRING_VALUE&profile_status_id=SOME_INTEGER_VALUE&summary=SOME_BOOLEAN_VALUE&modernmanagement=SOME_BOOLEAN_VALUE&createdormodifiedbyme=SOME_BOOLEAN_VALUE&config_ids=SOME_STRING_VALUE' \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json - `JSON Object` - **profiles** `JSON Array` Array of profile objects. ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 ### List of all configured profiles with metadata ```json { "profiles": [ { "creation_time": 12312321312312, "last_modified_time": 213123213123, "profile_version": 1, "payloads": [ "restrictionspolicy", "passcodepolicy" ], "last_modified_by": 213900719925474100000, "profile_description": "Test IOS Restrictions Policy", "created_by": 21321312312, "collection_id": 2132131231241, "profile_name": "IOS Restrictions Policy", "profile_status": "Yet To Deploy", "platform_type": 1, "is_moved_to_trash": false, "profile_id": 12321312312, "scope": 0, "profile_status_id": 1 } ] } ``` ### No profiles found ```json { "profiles": [] } ``` ## Rate Limit ![](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.