Skip to main content
POST
Create number with SIP gateways

Authorizations

Authorization
string
header
default:<auth-token>
required

Your API token, sent raw (no Bearer prefix).

Body

application/json
name
string
required
Example:

"Support SIP"

phoneNumbers
string[]
required

E.164 numbers, with the +.

Example:
inbound
object
required
outbound
object
required
isShared
boolean
default:true

true creates one inbound and one outbound gateway for all the numbers. false creates a separate pair per number. It can't be changed later: detach and create again instead.

mediaEncryption
enum<string>
default:disable
Available options:
enable,
disable

Response

Numbers registered and gateways attached.

message
string