SIP Credentials
Update SIP credential
Updates a SIP Credential by ID
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.
put/api/fabric/resources/sip_endpoints/{id}
Path parameters
idstring uuid required
Universal Unique Identifier.
Unique ID of the SIP endpoint.
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"
}