Skip to main content
POST
Create an outbound SIP trunk

Authorizations

Authorization
string
header
required

Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.

Path Parameters

projectId
string
required

Project id

Body

application/json

Fields not listed here are ignored.

name
string
required

Unique within the project.

Required string length: 1 - 128
address
string
required

The SIP host to send calls to, such as sip.carrier.example.com.

Required string length: 1 - 255
auth
object
required

No authentication.

status
enum<string>
default:active
Available options:
active,
inactive
transport
enum<string>
default:auto

SIP transport. auto negotiates it.

Available options:
auto,
udp,
tcp,
tls
media_encryption
enum<string>
default:disabled

Media encryption (SRTP). enabled offers it with a fallback; required refuses calls without it.

Available options:
disabled,
enabled,
required

Response

The trunk was created.

outbound_trunk
object
required

A SIP endpoint Clarity dials through for outbound calls from your numbers.