# Retrieves the current chat history retention settings Returns the chat history retention configuration, including the number of days for which chat conversation logs are retained. Accessible only to users with admin-level tools permissions. ## Endpoints GET `/dcapi/tools/chat/settings` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/tools/chat/settings ### Scope `DesktopCentralCloud.Tools.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` **Mandatory**: `application/json` ### Sample Request ```curl curl --request GET \ --url https://appdomains/dcapi/tools/chat/settings \ --header 'Accept: application/json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response ### Response Parameters #### HTTP code 200 Response Body — `application/json` - `JSON Object` - **chatHisDays** `integer`: Number of days for which chat conversation history is retained ### Sample Response: HTTP 200 ```json { "chatHisDays": 30 } ``` ### Possible Response Codes - **200** `HTTP code` ## Rate Limits ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **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.