Create SIP credential
Creates a project-scoped SIP Credential for a SIP device to register with SignalWire. Use it for a shared or independently managed device; use Create Subscriber SIP credential when the credential belongs to a specific Subscriber. To attach an already-existing resource as the credential's outbound call handler, use Assign Resource to SIP credential instead.
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.
Request body
Example request
{
"username": "User",
"caller_id": "123456789",
"send_as": "Support",
"ciphers": [
"AEAD_AES_256_GCM_8",
"AES_256_CM_HMAC_SHA1_32"
],
"codecs": [
"G722",
"PCMA",
"PCMU",
"VP8"
]
}Response
The request has succeeded.
Example response
{
"type": "sip_endpoint",
"username": "c3p0",
"caller_id": "C-3P0",
"send_as": "random",
"encryption": "required",
"call_request_method": "POST",
"call_fallback_method": "POST",
"call_status_callback_method": "POST",
"call_relay_topic": "office",
"call_relay_topic_status_callback_url": "https://myapplication/handle_relay_callbacks",
"call_relay_context_status_callback_url": "https://myapplication/handle_relay_callbacks",
"call_relay_script_url": "https://dev.signalwire.com/relay-bins/f9d13f68-f71e-4042-95bb-b07b9e2f2f92"
}Changes
Changed in 3 of the 137 revisions of this API.48
- ○
added the new
OPUS@16000H@20Ienum value to the request propertycodecs/items/request-property-enum-value-added
- ○
added the new
OPUS@24000H@20Ienum value to the request propertycodecs/items/request-property-enum-value-added
- ○
added the new
OPUS@48000H@20Ienum value to the request propertycodecs/items/request-property-enum-value-added
- ○
added the new
OPUS@8000H@20Ienum value to the request propertycodecs/items/request-property-enum-value-added
- ○
- ▲
removed the enum value
OPUS@16000H@20Iof the request propertycodecs/items/request-property-enum-value-removed
- ▲
removed the enum value
OPUS@24000H@20Iof the request propertycodecs/items/request-property-enum-value-removed
- ▲
removed the enum value
OPUS@48000H@20Iof the request propertycodecs/items/request-property-enum-value-removed
- ▲
removed the enum value
OPUS@8000H@20Iof the request propertycodecs/items/request-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new
OPUS@16000H@20Ienum value to the request propertycodecs/items/request-property-enum-value-added
- ○
added the new
OPUS@24000H@20Ienum value to the request propertycodecs/items/request-property-enum-value-added
- ○
added the new
OPUS@48000H@20Ienum value to the request propertycodecs/items/request-property-enum-value-added
- ○
added the new
OPUS@8000H@20Ienum value to the request propertycodecs/items/request-property-enum-value-added
- ○
Of the 137 revisions, 3 have a changelog that could not be searched.