# Retrieves WebSocket port details required for tool session connections Retrieves WebSocket server port details (SSL and non-SSL ports, gateway name) required to establish WebSocket connections for remote control, chat, and system manager sessions. ## Endpoint GET `/dcapi/tools/ws/wsProperties` ## Request ### Request URL `https://{server-hostname}:8383/dcapi/tools/ws/wsProperties` ### Scope `Tools.READ` ### Header `Authorization: d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** `string` — Mandatory: `application/json` ## Sample Request ```curl curl --request GET \ --url https://appdomain/dcapi/tools/ws/wsProperties \ --header 'Accept: application/json' \ --header 'Authorization: d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 **Response Body:** `application/json` `JSON Object` - **wsSSLPort** `integer` — WebSocket SSL port number - **wsNonSSLPort** `integer` — WebSocket non-SSL port number - **gatewayName** `string` — Gateway server hostname - **isSslEnabled** `boolean` — Whether SSL is enabled for WebSocket connections ### Sample Response: HTTP 200 ```json { "wsSSLPort": 8383, "isSslEnabled": true, "gatewayName": "dc-gateway-01", "wsNonSSLPort": 8020 } ``` ## Possible Response Codes - **200** `HTTP code` ## API 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.