Documentation
API Reference
Documentation
API Reference
Book a meeting
Linkedin
Github
  1. Api's
  • Introduction
  • Get started
    • Quickstart
    • Authentication
  • Core concepts
    • Agents
    • Phone numbers
    • Calls
    • Webhooks
  • Webhooks
    • Overview
    • Assistant request
    • Tool calls
    • Status update
    • End of call report
    • Security
  • Guides
    • Campaigns
    • xAI Realtime Integration
    • Voice selection psychology
    • Analysis templates
    • BYOK Setup
    • Call analysis
    • Call Transfers
    • Custom Tools
    • Sip Trunks
    • Tool templates
    • Voicemail detection
    • Autonomous silence detection
    • Billing
    • Error codes
    • Rate limits
    • Troubleshooting
  • Api's
    • Campaigns
    • Agents
    • Voices
    • BYOK
    • Analysis templates
    • Tool templates
    • Organization
    • Phone numbers
    • Sip trunks
    • Calls
    • Call control
    • Usage
    • Domains
Documentation
API Reference
Documentation
API Reference
Book a meeting
Linkedin
Github
  1. Api's

Sip trunks

Manage SIP trunks for call transfers.

Endpoints#

MethodEndpointDescription
GET/sip-trunksList SIP trunks
POST/sip-trunksCreate a SIP trunk
GET/sip-trunks/{id}Get a SIP trunk
DELETE/sip-trunks/{id}Delete a SIP trunk

List SIP Trunks#

Retrieve all SIP trunks configured for call transfers.
GET /sip-trunks

Request#

Response#

{
  "trunks": [
    {
      "id": "trunk-uuid-here",
      "name": "Main Trunk",
      "host": "sip.provider.com",
      "port": 5060,
      "username": "myuser",
      "created_at": "2025-12-13T10:00:00.000Z"
    }
  ]
}

Create a SIP Trunk#

Create a new SIP trunk for call transfers. Passwords are stored securely in Vault.
POST /sip-trunks

Request Body#

FieldTypeRequiredDescription
namestringYesTrunk display name
hoststringYesSIP server hostname
portintegerNoSIP port (default: 5060)
usernamestringYesSIP username
passwordstringYesSIP password (stored in Vault)

Example Request#


Get a SIP Trunk#

Retrieve a specific SIP trunk by ID.
GET /sip-trunks/{id}

Delete a SIP Trunk#

Delete a SIP trunk. Any phone numbers using this trunk for transfers will have their transfer_trunk_id set to null.
DELETE /sip-trunks/{id}

Request#

See SIPTrunk Schema for complete details.
Modified at 2026-01-30 12:19:23
Previous
Phone numbers
Next
Calls
Built with