Skip to main content
The SIP Trunks API lets organization admins manage BYO SIP trunk gateways for outbound and inbound telephony through Burki’s SIP bridge. All SIP trunk management endpoints require an authenticated organization admin.
SIP trunk records include carrier credentials. Treat responses and request bodies as sensitive and avoid logging full payloads.

SIP Trunk Object

PBX Allowlist and Registration

For the current hosted SIP bridge, customer PBX/carrier firewalls should allow:
Use gateway for the customer’s PBX/carrier host and port. If Burki should register to the PBX, set register: true and provide the PBX username/password. If the PBX uses IP authentication instead, set register: false and allowlist 52.21.157.171 as the trusted SIP peer.
Registration example
For inbound calls, configure the PBX/carrier to send INVITEs to 52.21.157.171:5060 and allow RTP from 52.21.157.171 on UDP 10000-20000. For outbound calls, the PBX/carrier must accept INVITEs and RTP from 52.21.157.171. If multiple DIDs share one PBX extension, the PBX must also include the original called DID in Diversion, History-Info, X-Original-Called, P-Called-Party-ID, the Request-URI, or the To user so Burki can route to the correct assistant.

List Trunks

Returns trunks sorted by priority.
Response

Create Trunk

Request
Returns 201 Created with the created SIP trunk object. Duplicate names return 400 Bad Request.

Get Trunk

Returns one SIP trunk object or 404 Not Found.

Update Trunk

All fields are optional. Empty fields are ignored only if omitted; send the exact value you want persisted.
Request
Returns the updated trunk.

Delete Trunk

Returns 204 No Content on success.

Enable or Disable Trunk

Returns the updated trunk object.

Sync to SIP Bridge

Pushes enabled trunk configuration to the SIP bridge. The API returns success if Burki updates its org config and starts bridge sync; bridge sync failures are logged server-side and should be checked in operations logs.
Response

Assign a Phone Number to a SIP Trunk

Phone-number routing uses the organization phone-number update endpoint:
Request
Send an empty string to clear the SIP trunk assignment:

Error Responses