Realtime Metric Access

A web-socket connection to subscribe to current contact center metrics across queues, agents, and skills.

This endpoint is intended for live monitoring use cases such as wallboard displays, supervisor dashboards, or agent-facing widgets that surface queue depth, wait times, or agent availability in real time.


Endoint

wss /rest/api/v1/realtime-metric-subscription

Query Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the reporting real-time metric
auth_tokenstringYesThe Service User API bearer token

Request

wss://<hostname>.xima.cloud/rest/api/v1/realtime-metric-subscription?id=<metric_id>&auth_token=<api_bearer_token>

Response

Returns a Handshake Details and JSON objects containing the subscribed real-time metrics of the CCaaS tenant.