Skip to main content
POST
Create a SIP trunk

Authorizations

Authorization
string
header
required

Your Wixzel Phone API key: Authorization: Bearer wv_live_.... Keys are scoped; grant only what the integration needs.

Body

application/json
name
string
required
Required string length: 1 - 64
Pattern: ^[a-zA-Z0-9 _-]+$
host
string
required
Required string length: 1 - 253
Pattern: ^[a-zA-Z0-9.-]+$
port
integer
default:5060
Required range: 1 <= x <= 65535
transport
enum<string>
default:udp
Available options:
udp,
tcp,
tls
username
string
Maximum string length: 128
Pattern: ^[a-zA-Z0-9._-]*$
password
string
Maximum string length: 256
auth_realm
string
Maximum string length: 128
Pattern: ^[a-zA-Z0-9.-]*$
default_caller_id
string
Maximum string length: 64
Pattern: ^[a-zA-Z0-9+ _-]*$
dial_prefix
string
Maximum string length: 16
Pattern: ^[0-9+*#]*$
send_plus
boolean
default:true

Whether to keep the leading "+" when dialling, so the request URI reads sip:+15551234567@host. Twilio and Telnyx expect it. Many wholesale carriers cannot parse it and answer 408 Request Timeout after a few seconds, with the call showing in their portal as received but never answered. Set false to send bare digits instead.

provider_name
string
Maximum string length: 64

Response

The created a SIP trunk

id
string
required
Pattern: ^[0-9a-f]{24}$
Example:

"6a96a3ead6e886d42462dd3e"

object
enum<string>
required
Available options:
sip_trunk
name
string
required
host
string
required
port
integer
required
transport
enum<string>
required
Available options:
udp,
tcp,
tls
username
string | null
required
send_plus
boolean
required
platform_ip
string | null
required

The address calls are placed from. Allowlist it with your carrier: most authorise outbound calls by source IP, and without it the trunk looks configured while no call completes. Read from the deployment rather than written down, so it cannot go stale. Null if this install has not set it.

Example:

"95.216.218.102"

origination_uri
string | null
required

Where your carrier must send INBOUND calls. Paste it into the field your provider calls the Origination URI (Twilio Elastic SIP Trunking), or the termination point / destination SIP URI — the names differ, the string does not. platform_ip is the outbound half: it tells the carrier to accept calls FROM us. This is the inbound half, and it is separate configuration in a different part of their console. Without it a number is bought, pointed at an agent, and simply never rings, because the carrier has nowhere to deliver the call to. Null if this install has not published a SIP address.

Example:

"sip:95.216.218.102:5090"

provider_name
string | null
required
status
string
required
created_at
string<date-time>
required

ISO 8601, always UTC.

Example:

"2026-09-01T12:00:00.000Z"