Web socket
Init anonymous
Same as the authenticated init but for guests, such as the chat widget: the pending connection is registered against the tenant in the URL with no User attached, and a fresh one is created on every call. The caller's IP is recorded on the connection, and when an Origin or Referer header is present it has to be a Deskhero domain.
GET
/api/{tenant:minlength(2)}/v{version:apiVersion}/web_socket/init_anonymous
Request arguments
| Name | Type | Source |
|---|
Request body example
Response
Response body example
DTO_web_socket_init
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| dh_token | String | ReadOnly | Dh token |
| socket_url | String | ReadOnly | Socket url |
Generated Aug 4, 2026 18:37