API Reference
Stream events
Subscribe to live token events with Server-Sent Events.
GET
Use this stream when your app needs live token updates while the token is connecting, pairing, sending, receiving, or calling.
The response is a Server-Sent Events stream. Each event uses the WADial event name as the SSE
WADial also sends heartbeat comments every 30 seconds:
Live SSE events include:
Pairing QR:
Inbound message:
Outgoing send result:
Call state:
Call and recording events carry metadata only. Raw call audio is only available on the call media WebSocket.
string
required
Token id returned by
POST /api/v1/sessions.event, the event id as the SSE id, and a JSON data object.
session.createdsession.deletedconnection.stateauth.qrauth.pairing_requiredauth.pairing_codeauth.pairedmessage.receivedmessage.sentmessage.receiptmessage.failedcall.incomingcall.statecall.endedcall.errorcall.recording.readystanza.errorstream.failure
auth.pairing_required and auth.pairing_code are live stream events only. Use the token timeline or webhooks for persisted and retryable event delivery.