Skip to main content

Update a SIP Endpoint

PUT 

https://YOUR_SPACE.signalwire.com/api/relay/rest/endpoints/sip/:id

Updates the specific SIP Endpoint by setting the values of any parameters passed in. Any parameters not provided will be unchanged.

Permissions

The API token must include the following scopes: Voice.

Request

Responses

CREATED

Authorization: http

name: basic_authtype: httpscheme: basic

Request Collapse all
Base URL
https://YOUR_SPACE.signalwire.com/api/relay/rest
Auth
Parameters
— pathrequired
Body required
{
  "username": "c3p0",
  "password": "yavinOrBust",
  "caller_id": "C-3P0",
  "send_as": "random",
  "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"
  ],
  "codecs": [
    "OPUS",
    "G722",
    "PCMU",
    "PCMA",
    "VP8",
    "H264"
  ],
  "encryption": "required",
  "call_handler": "ai_agent",
  "call_request_url": null,
  "call_request_method": "POST",
  "call_fallback_url": null,
  "call_fallback_method": "POST",
  "call_status_callback_url": null,
  "call_status_callback_method": "POST",
  "call_laml_application_id": "",
  "call_relay_topic": "office",
  "call_relay_topic_status_callback_url": "https://myapplication/handle_relay_callbacks",
  "call_relay_context": "office",
  "call_relay_context_status_callback_url": "https://myapplication/handle_relay_callbacks",
  "call_video_room_id": "",
  "call_flow_id": "",
  "call_ai_agent_id": "",
  "call_relay_script_url": "https://dev.signalwire.com/relay-bins/f9d13f68-f71e-4042-95bb-b07b9e2f2f92"
}
ResponseClear

Click the Send API Request button above and see the response here!