SIP Addresses
Create SIP address
Creates a SIP address, along with its username, encryption, codec, cipher, and IP authentication settings.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Calling, Fax, Messaging, or Video.
Learn more about API scopes.
post/api/fabric/sip_addresses
Request body
Example request
{
"name": "sales-line",
"user": "agent",
"ip_auth_enabled": true,
"ip_auth": [
"10.0.0.0/24"
],
"codecs": [
"OPUS"
],
"ciphers": [
"AES_256_CM_HMAC_SHA1_80"
],
"password": "sup3r-s3cret"
}Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"type": "sip_address",
"name": "support-line",
"display_name": "support-line",
"context": "public",
"uri": "sip:my-space-support-line@sip.signalwire.com",
"user": "*",
"codecs": [
"PCMU",
"PCMA"
],
"ciphers": [
"AEAD_AES_256_GCM_8",
"AES_256_CM_HMAC_SHA1_80",
"AES_CM_128_HMAC_SHA1_80",
"AES_256_CM_HMAC_SHA1_32",
"AES_CM_128_HMAC_SHA1_32"
],
"ip_auth": [],
"created_at": "2024-05-06T12:20:00Z",
"updated_at": "2024-05-06T12:20:00Z"
}