Skip to main content
GET
Check a SIP trunk

Authorizations

Authorization
string
header
required

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

Path Parameters

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

"6a96a3ead6e886d42462dd3e"

Response

Current state of the trunk

object
enum<string>
required
Available options:
sip_trunk_status
sip_trunk_id
string
required
Pattern: ^[0-9a-f]{24}$
Example:

"6a96a3ead6e886d42462dd3e"

name
string | null
required
host
string | null
required
port
integer | null
required
transport
string | null
required
origination_uri
string | null
required

Where the carrier must send inbound calls. Repeated here because a number that never rings is half of "why is this not working", and unlike everything else in this response it is not a state we can measure — if it is missing from the carrier's Origination URI field the call never reaches us and nothing on this side is aware of it.

Example:

"sip:95.216.218.102:5090"

asterisk
object
required
probe
object
required
recent_failures
object[]
required

The last few carrier rejections on this account, newest first. A reachable trunk that rejects every call is usually a suspended or unfunded carrier account — cause 21.