ResoneraDocs
Calls

Join a live call

POST
/calls/{call_id}/join

Returns a LiveKit url and token for joining a call in progress from a browser over WebRTC. Pass both to the LiveKit browser SDK with room.connect(url, token). See Hand over a live call for an example.

modeBehavior
takeover (default)The team member can speak. The agent stops speaking and listening when they connect.
listenThe team member hears the call without being heard. The agent continues.

When a team member who took over leaves, the agent's handover_end_action applies. The token must be used within 10 minutes. Requires the Live agent handoff add-on.

Requires the calls:write scope.

Authorization

apiKey
headerX-API-Key<token>

Your API key, from Settings → API access in the dashboard.

Path Parameters

call_id*string

The call's call_id, from GET /calls or a campaign contact.

Request Body

application/json
  1. body
mode?string
Default"takeover"
Value in"takeover""listen"
display_name?string

Shown to other participants. Defaults to Agent.

Lengthlength <= 80

Response Body

Credentials to join the call.

application/json
  1. response
call_id?string
Formatuuid
mode?string
Value in"takeover""listen"
url?string

LiveKit server URL.

token?string

Access token for this call only.

room?string
identity?string

Your participant identity in the call.

expires_at?string

Join before this time.

Formatdate-time
curl -X POST "https://example.com/calls/string/join" \  -H "Content-Type: application/json" \  -d '{    "mode": "takeover",    "display_name": "Priya"  }'
{  "call_id": "88433d99-ead1-4ee2-86c1-7a2cbfd6d064",  "mode": "takeover",  "url": "wss://resonera-ai.livekit.cloud",  "token": "eyJhbGciOiJIUzI1NiJ9...",  "room": "campaign-3f1d9a52-88433d99",  "identity": "handover-web-1a2b3c4d",  "expires_at": "2026-10-05T09:22:40+00:00"}