# Retrieve details of a specific profile on a device Get a single profile details associated with the device ## Endpoint `GET /api/v1/mdm/devices/{device_id}/profiles/{profile_id}` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)/api/v1/mdm/devices/{device_id}/profiles/{profile_id} ### Scope `MDMOnDemand.MDMInventory.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — **Mandatory** — `application/json` #### Path Parameters - **device_id** `string` — **Mandatory** Unique identifier of the device. Obtain from the [Get Device List](https://www.manageengine.com/mobile-device-management/help/api/cloud/devices-get-device-list.html) response - **profile_id** `string` — **Mandatory** Unique identifier of the profile. Obtain from the [Create Profile](https://www.manageengine.com/mobile-device-management/help/api/cloud/profiles-create-profile.html) or [Get Profiles](https://www.manageengine.com/mobile-device-management/help/api/cloud/profiles-get-profile.html) response #### 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 - **searchkey** `string` — Optional Value to search for. Must be used in combination with searchfield to specify which field is searched - **searchfield** `string` — Optional Name of the field to search against. Used together with searchkey (e.g., name, email, udid) - **is_allowed_apps** `boolean` — Optional Set to true to return apps from the allow list, false to return apps from the block list - **is_app_purchased_from_portal** `boolean` — Optional Set to true to restrict results to apps purchased through the enterprise app portal (VPP/managed Google Play). Default: false - **search** `string` — Optional Free-text search string applied to the default searchable fields of the resource - **app_scope** `string` — Optional Filter applications by their assignment scope. Allowed values: 1=All, 2=Assigned to groups, 3=Assigned to devices - **platform** `string` — Optional Filter results by device platform. Allowed values: 1=iOS, 2=Android, 3=Windows, 4=macOS, 6=tvOS ### Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/devices/{device_id}/profiles/{profile_id} \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### Response Parameters #### HTTP Code 200 Response body: `application/json` | Attribute | Type | Description | |---|---|---| | created_time | string | Profile creation timestamp | | last_modified_user | string | Username who last modified the profile | | last_modified_time | string | Last modification timestamp | | created_user | string | Username who created the profile | | associated_by_user_name | string | Username who associated the profile to the device | | remark | string | Remarks about the profile execution status | | applied_time | long | Timestamp when the profile was applied to the device | | profile_description | string | Description of the profile | | associated_by_user_id | string | User ID of the person who associated the profile | | localized_remarks | string | Localized remarks text | | profile_name | string | Name of the profile | | platform_type | string | Platform type (e.g., android, ios, windows) | | latest_version | string | Latest available version of the profile | | executed_version | string | Version of the profile that was executed on the device | | profile_id | string | Unique profile identifier | | associated_on | string | Timestamp when the profile was associated to the device | | status | string | Profile distribution status (e.g., SCHEDULED, DISTRIBUTED, FAILED) | ### Possible Response Codes - **200** — HTTP code ### Sample Response: HTTP 200 Detailed profile info with version, status, and association details ```json { "created_time": "1714630800000", "last_modified_user": "admin", "last_modified_time": "1714630800000", "created_user": "admin", "associated_by_user_name": "admin", "remark": "Executed Successfully", "applied_time": 1714630800000, "profile_description": "Test Profile", "associated_by_user_id": "1", "localized_remarks": "Applied", "profile_name": "Test Profile", "platform_type": "android", "latest_version": "5", "executed_version": "1", "profile_id": "9007199254741068", "associated_on": "1522066653883", "status": "SCHEDULED" } ``` ## API Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 250 | **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.