SIP call
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.
outbound_address and a valid SIP trunk. The room is created automatically if it doesn’t exist, with metadata.auth_id set for tenant isolation.Request fields
SIP configuration overrides
The optionalsip object allows you to override global SIP configuration on a per-request basis. This is useful when you need to use different SIP providers or credentials for specific calls.
Configuration priority
When thesip object is provided, its fields take priority over global server configuration:
Request body sip config > Global server config
outbound_address, the call will fail with an OUTBOUND_ADDRESS_NOT_CONFIGURED error.Example requests
Authorization
Access is controlled via room metadata:- When
auth.idis present and the room exists: requiresroom.metadata.auth_id == auth.id - When
auth.idis present and room doesn’t exist: room is created withmetadata.auth_idset - When
auth.idis absent: access is allowed (backward-compatible mode)
Error responses
Authorizations
Body
Request body for initiating an outbound SIP call
Example
SIP Configuration Priority
The sip object is optional. When provided, its fields take priority over global
server configuration values. This allows per-request customization of SIP settings.
Priority order: Request body sip config > Global server config
outbound_address: Overridessip.outbound_addressfrom configauth_username: Overridessip.outbound_auth_usernamefrom configauth_password: Overridessip.outbound_auth_passwordfrom config
If neither the request body nor global config provides an outbound_address,
the call will fail with OUTBOUND_ADDRESS_NOT_CONFIGURED error.
Response
Call initiated successfully
Response for a successful SIP call initiation