createWsUrl
The API endpoint for authentication.
The API token for authentication.
Optional
optional path for the websocker
createWsUrl