Initiate Call
Start a new outbound call. Two calling modes are available — choose the one that fits your integration.
-
Browser calling — the response includes a LiveKit
tokenandlivekit_url. Pass these to your WebRTC client immediately so the agent can join the call from a browser tab. -
Phone-bridge calling — the platform dials the agent’s configured phone number first, then bridges to the customer.
tokenandlivekit_urlare returned asnull.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Customer number to dial in E.164 format, e.g. +919580440262.
false — agent joins via browser (default). true — platform calls the agent's phone and bridges to the customer.
Response
Unique ID of the created call. Save this — it is required for all follow-up operations.
LiveKit browser-join token. Present only when agent_join_via_phone is false.
LiveKit server WebSocket URL. Present only when agent_join_via_phone is false.
