Events are delivered via WebSocket in real time. Applications subscribe using Subscription Sets.
wss://<WebAdmin>/api/ws (with Basic Auth){"webSocketId": "aa922613-78ad-..."}POST /api/v1/subscriptions/ws/{wsId}/subscriptionsetsPUT .../subscriptionsets/{ssId}/calleventaccounts/{account}Send periodic messages (e.g., "hello") to prevent timeout. Server echoes back if alive.
Call events track call lifecycle. Each event includes subscriptionSetId, event, callId, observedParty, timestamp, and version.
Account has dialed a call.
{
"subscriptionSetId": "12345",
"event": "dial",
"callId": 1,
"observedParty": "100@Windstream",
"timestamp": "2015-05-11T14:06:52-04",
"version": "v1",
"from": "100@Windstream",
"to": "101@Windstream",
"sipCallId": "[email protected]",
"dialingDeviceId": 1
}
Dialed call is ringing at remote end.