Create SIP credential
Changed onCreates 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
- Base URLhttps://{Your_Space_Name}.signalwire.com
- URLhttps://{Your_Space_Name}.signalwire.com/api/fabric/resources/sip_endpoints
- AuthHTTP basic
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
- info
added the new
OPUS@16000H@20Ienum value to the request property/ - info
added the new
OPUS@24000H@20Ienum value to the request property/ - info
added the new
OPUS@48000H@20Ienum value to the request property/ - info
added the new
OPUS@8000H@20Ienum value to the request property/
- info
- breaking
removed the enum value
OPUS@16000H@20Iof the request property/ - breaking
removed the enum value
OPUS@24000H@20Iof the request property/ - breaking
removed the enum value
OPUS@48000H@20Iof the request property/ - breaking
removed the enum value
OPUS@8000H@20Iof the request property/
- breaking
Some revisions have not been checked yet.