SIP Gateway
Create SIP gateway
Creates a SIP Gateway that can be used to dial external SIP entities.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Voice, Messaging, Fax, or Video.
Learn more about API scopes.
post/api/fabric/resources/sip_gateways
Request body
Example request
{
"name": "My SIP Gateway",
"uri": "user2@domain.com",
"ciphers": [
"AEAD_AES_256_GCM_8",
"AES_256_CM_HMAC_SHA1_80"
],
"codecs": [
"OPUS"
]
}Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"display_name": "My SIP Gateway",
"type": "sip_gateway",
"created_at": "2024-05-06T12:20:00Z",
"updated_at": "2024-05-06T12:20:00Z",
"sip_gateway": {
"uri": "user3@domain.com",
"name": "My SIP Gateway",
"ciphers": [
"AEAD_AES_256_GCM_8"
],
"codecs": [
"OPUS"
]
}
}