# Retrieve the full configuration details of a Work Data Security payload item Get Android Work data security payload ## Endpoints **GET** `/api/v1/mdm/profiles/{profile_id}/payloads/androidworkdatasecuritypolicy/payloaditems/{payload_id}` ## Request URL `https://{server-hostname}:8383/api/v1/mdm/profiles/{profile_id}/payloads/androidworkdatasecuritypolicy/payloaditems/{payload_id}` ### Scope `MDMDeviceMgmt.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ## Request Parameters ### Request Headers - **Accept** `string` — **Mandatory** — `application/json` ### Path Parameters - **profile_id** `string` — **Mandatory** - Unique identifier of the profile. Obtain from the [Create Profile](https://www.manageengine.com/products/desktop-central/help/api/onpremise/mdm-profiles-create-profile.html) or [Get Profiles](https://www.manageengine.com/products/desktop-central/help/api/onpremise/mdm-profiles-get-profile.html) response. - **payload_id** `string` — **Mandatory** - Unique identifier of the payload item. Obtain from the [Get Payload Item IDs](https://www.manageengine.com/products/desktop-central/help/api/onpremise/android-get-work-data-security-payload.html) response. ## Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/androidworkdatasecuritypolicy/payloaditems/{payload_id} \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json - `JSON Object` - **payload_id** `long` - Unique identifier of the payload item - **allow_share_doc_to_work_profile** `boolean` - Whether sharing documents to the work profile is allowed. Default: false - **allow_share_doc_to_personal_apps** `boolean` - Whether sharing documents to personal apps is allowed. Default: false - **allow_profile_content_to_other_apps** `boolean` - Whether work profile content can be shared with other apps. Default: false - **allow_profile_contact_over_bluetooth** `boolean` - Whether work profile contacts are accessible over Bluetooth. Default: false - **allow_profile_app_widgets_to_home_screen** `boolean` - Whether work profile app widgets can be placed on the home screen. Default: false - **allow_contact_in_personal_profile** `boolean` - Whether work contacts are visible in the personal profile. Default: false - **allow_contact_access_to_personal_apps** `boolean` - Whether personal apps can access work contacts. Default: false - **allow_connected_apps** `integer` - Whether connected apps (cross-profile communication) are allowed. 0 = Not Allowed. Default: 0 - **allowed_apps** `JSON Array` - List of apps allowed for cross-profile data sharing - **allow_crossprofile_copy_paste** `integer` - Whether cross-profile copy-paste is allowed. 0 = Not Allowed. Default: 0 - **allow_crossprofile_data_sharing** `integer` - Whether cross-profile data sharing is allowed. 0 = Not Allowed. Default: 0 - **workprofile_turnoff_timeout** `integer` - Work profile auto-turnoff timeout in minutes. 0 = No Timeout. Default: 0 - **enable_work_profile_system_apps** `array` - List of system apps enabled in the work profile (values 1-5) ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Full configuration details of Work Data Security payload item ```json { "allow_crossprofile_copy_paste": 0, "payload_id": 9007199254741000, "allow_profile_contact_over_bluetooth": false, "allow_contact_access_to_personal_apps": false, "allow_connected_apps": 0, "allow_share_doc_to_personal_apps": false, "allow_profile_app_widgets_to_home_screen": false, "allowed_apps": [], "allow_contact_in_personal_profile": false, "allow_profile_content_to_other_apps": false, "allow_share_doc_to_work_profile": false } ``` ## 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.