# Retrieve the full configuration details of a Per-App VPN payload item To get Ios Per App Vpn payload item ## Endpoint `GET /api/v1/mdm/profiles/{profile_id}/payloads/iosperappvpn/payloaditems/{payload_id}` ## Request Details ### 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/iosperappvpn/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/ios-get-per-app-vpn-payload-ios.html) response. ### Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/iosperappvpn/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): Sub Config. Default: L2TP. - **connection_name** (string): Connection Name. Default: VPN Configuration. - **connection_type** (integer): VPN connection type. Allowed values: 0=L2TP, 1=PPTP, 2=IPSec, 3=Cisco Legacy AnyConnect, 4=Juniper SSL, 5=F5 SSL, 6=Custom SSL, 7=Pulse Secure, 8=IKEv2, 9=Cisco AnyConnect, 10=SonicWall, 11=Aruba VIA, 12=CheckPoint Mobile. - **send_all_nw_traffic** (boolean): Send All Nw Traffic. Default: false. - **certificate_uuid** (string): Certificate Uuid. - **enable_vpn_on_demand** (boolean): Enable Vpn On Demand. Default: false. - **disconnect_on_idle_timeout** (integer): Disconnect on idle timeout in seconds. 0 means disabled. Default: 0. - **cisco** (JSON object): Cisco. - **juniperssl** (JSON object): Juniperssl. - **pulsesecure** (JSON object): Pulsesecure. - **f5ssl** (JSON object): F5Ssl. - **customssl** (JSON object): Customssl. - **ciscoanyconnect** (JSON object): Ciscoanyconnect. - **sonicwall** (JSON object): Sonicwall. - **arubavia** (JSON object): Arubavia. - **checkpoint** (JSON object): Checkpoint. - **proxy_type** (integer): Proxy configuration type. Allowed values: 0=None, 1=Manual, 2=Automatic (PAC URL). - **proxy_server** (string): Proxy Server. - **proxy_server_port** (integer): Proxy Server Port. Default: 0. - **proxy_user_name** (string): Proxy User Name. - **proxy_password** (string): Proxy Password (sensitive - write-only). - **proxy_password_id** (long): Proxy Password Id. - **proxy_pac_url** (string): Proxy Pac Url. - **ondemand_user_override_disabled** (boolean): Ondemand User Override Disabled. Default: false. - **ondemandrules** (JSON array): List of VPN On Demand rules controlling when the VPN connects/disconnects. - **vpn_type** (integer): VPN scope type. Allowed values: 1=Device-level VPN, 2=Per-App VPN. - **provider_type** (integer): VPN provider type. Allowed values: 0=Packet Tunnel (default), 1=App Proxy. - **vpnuuid** (string): Vpnuuid. - **safari_domains** (array): List of Safari domain strings that trigger Per-App VPN. - **excluded_domains** (array): List of domain strings excluded from Per-App VPN. - **smb_domains** (array): List of SMB domain strings that trigger Per-App VPN. - **allowed_apps** (JSON array): List of apps allowed to use this Per-App VPN. - **autonomous_kiosk_apps** (JSON array): List of autonomous single app mode apps. - **ondemand_match_app_enabled** (boolean): Ondemand Match App Enabled. Default: true. - **custom_data** (JSON array): List of custom key-value pairs for vendor-specific VPN configuration. - **ipsec** (JSON object): Ipsec. - **ikev2** (JSON object): Ikev2. ### Possible Response Codes - **200** (HTTP code) ### Sample Response: HTTP 200 Full configuration details of Per-App VPN payload item ```json { "connection_name": "VPN Configuration", "send_all_nw_traffic": false, "payload_id": 9007199254741000, "connection_type": 0, "pulsesecure": {}, "sub_config": "L2TP", "juniperssl": {}, "enable_vpn_on_demand": false, "certificate_uuid": "value", "disconnect_on_idle_timeout": 0, "cisco": {}, "vpn_type": 1 } ``` ## 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.