# Retrieve the full configuration details of a Wi-Fi payload item Get Android Wifi policy payload ## Endpoints **GET** `/api/v1/mdm/profiles/{profile_id}/payloads/androidwifipolicy/payloaditems/{payload_id}` ## Request URL `https://[{serverurl}](https://www.manageengine.com/mobile-device-management/help/api/cloud/oauth-authentication-endpoint-domain.html)/api/v1/mdm/profiles/{profile_id}/payloads/androidwifipolicy/payloaditems/{payload_id}` ## Scope `MDMOnDemand.MDMDeviceMgmt.READ` ## Header `Authorization: Zoho-oauthtoken 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/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. - **payload_id** `string` — **Mandatory** Unique identifier of the payload item. Obtain from the [Get Payload Item IDs](https://www.manageengine.com/mobile-device-management/help/api/cloud/android-get-wi-fi-payload-android.html) response. ## Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/androidwifipolicy/payloaditems/{payload_id} \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 #### Response Body — application/json `JSON object` - **payload_id** `long` Unique identifier of the payload item - **sub_config** `string` Wi-Fi security configuration type. WIFI_NON_ENTERPRISE or WIFI_ENTERPRISE. Default: WIFI_NON_ENTERPRISE - **service_set_identifier** `string` Wi-Fi network SSID (required) - **auto_join** `boolean` Whether the device automatically joins this network. Default: true - **hidden_network** `boolean` Whether the network SSID is hidden (required). Default: false - **security_type** `integer` Wi-Fi security type. 0 = None, 1 = WEP, 2 = WPA/WPA2 PSK, 3 = 802.1x EAP, 4 = WPA3 (required). Default: 0 - **wifi_non_enterprise** `JSON object` Non-enterprise Wi-Fi security settings (password, etc.) - **wifi_enterprise** `JSON object` Enterprise Wi-Fi security settings (EAP, certificates, etc.) - **proxy_type** `integer` Proxy configuration type. 0 = None, 1 = Manual, 2 = Automatic (PAC). Default: 0 - **proxy_server** `string` Proxy server hostname or IP address - **proxy_server_port** `integer` Proxy server port number. Default: 0 - **proxy_user_name** `string` Username for proxy authentication - **proxy_password** `string` Password for proxy authentication (sensitive — write-only) - **proxy_password_id** `long` ID of the saved credential for the proxy password - **proxy_pac_url** `string` URL of the proxy auto-configuration (PAC) file - **bypass_proxy_url** `string` URLs that bypass the proxy server - **mac_address_randomization_mode** `integer` MAC address randomization mode. 0 = Use device default, 1 = Use randomized MAC, 2 = Use device MAC. Default: 1 ## Possible Response Codes - **200** `HTTP code` ## Sample Response: HTTP 200 Full configuration details of Wi-Fi payload item ```json { "payload_id": 9007199254741000, "wifi_non_enterprise": {}, "sub_config": "WIFI_NON_ENTERPRISE", "wifi_enterprise": {}, "proxy_server": "value", "auto_join": true, "hidden_network": false, "proxy_server_port": 0, "service_set_identifier": "value", "security_type": 0, "proxy_type": 0 } ``` ![ ](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.