Add custom carrier
Add a custom SIP carrier (Bring Your Own Carrier).
Trunk Types:
static_ip- IP-based authentication (default). Your carrier whitelists TopCalls SBC IP.auth- Credential-based inbound authentication. Requiresinbound_authobject.reg- SIP registration. Requiresregistrationobject.
Authorizations
Use Authorization: Bearer tc_live_xxxxx
Headers
Optional client-supplied idempotency key. When present, the gateway
caches the response for 24 hours and returns the same response on
retried requests with the same key (account-scoped). Safe for
retries on network blips. Format: 8-255 ASCII characters from
[A-Za-z0-9_-].
8 - 255^[A-Za-z0-9_-]+$"a1b2c3d4-e5f6-7890-abcd-ef0123456789"
Body
Display name for the carrier
1 - 100SIP gateway endpoint. Inbound gateways (inbound: true) must use IPv4 address; hostnames are rejected by the validator because the telephony platform requires IP for SBC matching.
SIP trunk authentication type:
static_ip- IP-based authentication (default)auth- Credential-based inbound authenticationreg- SIP registration
static_ip, auth, reg Required when trunk_type is 'reg'
Required when trunk_type is 'auth'
Response
Carrier created successfully