PUT
/
v1
/
live_call_routers
/
{id}
curl --request PUT \
  --url https://api.rootly.com/v1/live_call_routers/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "live_call_routers",
    "attributes": {
      "kind": "voicemail",
      "enabled": true,
      "name": "<string>",
      "country_code": "US",
      "phone_type": "local",
      "voicemail_greeting": "<string>",
      "caller_greeting": "<string>",
      "waiting_music_url": "<string>",
      "sent_to_voicemail_delay": 123,
      "should_redirect_to_voicemail_on_no_answer": true,
      "escalation_level_delay_in_seconds": 123,
      "should_auto_resolve_alert_on_call_end": true,
      "alert_urgency_id": "<string>",
      "escalation_policy_trigger_params": {
        "id": "<string>",
        "type": "Service"
      }
    }
  }
}'
{
  "data": {
    "id": "2cff4991-6b77-4014-8c7e-f9b4c018f5ec",
    "type": "live_call_routers",
    "attributes": {
      "kind": "voicemail",
      "name": "live_call_router_staging",
      "country_code": "US",
      "phone_type": "local",
      "phone_number": "14155551234",
      "voicemail_greeting": "Et eaque accusantium quod.",
      "slug": "quaerat-laudantium-laboriosam-sint",
      "enabled": true,
      "created_at": "2025-03-28T23:03:22.780-07:00",
      "updated_at": "2025-03-28T23:03:22.952-07:00",
      "alert_urgency_id": "8457a4aa-d003-40ce-a6ef-8e3f6f1ccab8",
      "escalation_policy_trigger": {
        "id": "c6c6d0ae-4212-4a79-973d-734d52a84eec",
        "type": "service"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

200
application/vnd.api+json
live_call_router updated
data
object
required