# Retrieve the full configuration details of a Login Window payload item To get Mac Login Window policy PayloadItem ## Endpoint `GET /api/v1/mdm/profiles/{profile_id}/payloads/macloginwindow/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/macloginwindow/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/mac-get-login-window-payload.html) response. ## Sample Request ```curl curl --request GET \ --url https://appdomain/api/v1/mdm/profiles/{profile_id}/payloads/macloginwindow/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. - **show_full_name** `boolean` - Show Full Name. Default: false. - **show_admin_users** `boolean` - Show Admin Users. Default: true. - **show_local_users** `boolean` - Show Local Users. Default: true. - **show_mobile_accounts** `boolean` - Show Mobile Accounts. Default: true. - **include_network_user** `boolean` - Include Network User. Default: false. - **show_other_users** `boolean` - Show Other Users. Default: true. - **show_sleep_button** `boolean` - Show Sleep Button. Default: true. - **show_restart_button** `boolean` - Show Restart Button. Default: true. - **show_shutdown_button** `boolean` - Show Shutdown Button. Default: true. - **disable_restart_on_login** `boolean` - Disable Restart On Login. Default: false. - **disable_shutdown_on_login** `boolean` - Disable Shutdown On Login. Default: false. - **disable_logout_menu_item** `boolean` - Disable Logout Menu Item. Default: false. - **disable_sleep_on_login** `boolean` - Disable Sleep On Login. Default: false. - **show_input_menu** `boolean` - Show Input Menu. Default: true. - **disable_immediate_lock** `boolean` - Disable Immediate Lock. Default: false. - **disable_auto_login** `boolean` - Disable Auto Login. Default: false. - **disable_fde_auto_login** `boolean` - Disable Fde Auto Login. Default: false. - **enable_console_login** `boolean` - Enable Console Login. Default: true. - **enable_external_accounts** `boolean` - Enable External Accounts. Default: true. - **admin_may_disable_management** `boolean` - Admin May Disable Management. Default: false. - **set_computer_name_to_record_name** `boolean` - Set Computer Name To Record Name. Default: false. - **allow_guest_account** `boolean` - Allow Guest Account. Default: true. - **allow_multiple_session** `boolean` - Allow Multiple Session. Default: true. - **show_password_hint_after** `string` - Number of failed login attempts after which password hint is shown. - **auto_logout_delay** `string` - Auto-logout delay in minutes. 0 means disabled. - **window_idle_time_for_screen_saver** `string` - Idle time in minutes before screen saver activates. - **login_window_text** `string` - Login Window Text. - **ask_for_password_in_screen_saver** `boolean` - Ask For Password In Screen Saver. Default: true. ## Possible Response Codes - **200** — HTTP code ## Sample Response: HTTP 200 Full configuration details of Login Window payload item ```json { "include_network_user": false, "show_other_users": true, "payload_id": 6967000001030056, "show_full_name": false, "disable_restart_on_login": false, "show_mobile_accounts": true, "show_admin_users": true, "show_shutdown_button": true, "show_local_users": true, "show_sleep_button": true, "show_restart_button": true } ``` ## 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.