Handler for POST /sip/call endpoint
Initiates an outbound SIP call through LiveKit. The optional sip object in the request body allows overriding global SIP configuration on a per-request basis. Request body values take priority over global config, enabling different SIP providers or credentials for specific calls.
Request body
Example request
{
"from_phone_number": "+15105550123",
"participant_identity": "caller-456",
"participant_name": "John Doe",
"room_name": "call-room-123",
"sip": {
"auth_password": "secure_password_456",
"auth_username": "sip_user_123",
"outbound_address": "sip.provider.com:5060"
},
"to_phone_number": "+15551234567"
}Response
Call initiated successfully
Example response
{
"participant_id": "PA_abc123",
"participant_identity": "caller-456",
"room_name": "call-room-123",
"sip_call_id": "SC_xyz789",
"status": "initiated"
}Changes
Changed in 5 of the 13 revisions of this API.15
- ○
the endpoint scheme security
authwas added to the APIapi-security-added
- ○
the endpoint scheme security
bearer_authwas removed from the APIapi-security-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional request property
new-optional-request-property
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲