Skip to main content
POST
/
v1
/
SipGateways
Create a SipGateway
curl --request POST \
  --url https://api.example.com/v1/SipGateways \
  --header 'Content-Type: application/json' \
  --data '
{
  "inbound": true,
  "ipv4": "54.172.60.2",
  "outbound": false,
  "port": "5060",
  "voip_carrier_sid": "c10a0579-1229-4000-9a52-aa4a519a210f"
}
'
{
  "sid": "a6576ff4-59af-47ae-9b55-46f28b2bf2f7"
}

Body

application/json
inbound
boolean
Example:

true

ipv4
string
Example:

"54.172.60.2"

outbound
boolean
Example:

false

port
string
Example:

"5060"

voip_carrier_sid
string
Example:

"c10a0579-1229-4000-9a52-aa4a519a210f"

Response

201 - application/json

Create a SipGateway

sid
string
Example:

"a6576ff4-59af-47ae-9b55-46f28b2bf2f7"