Update a specific Live Call Router by 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": "AU",
"phone_type": "local",
"voicemail_greeting": "<string>",
"caller_greeting": "<string>",
"waiting_music_url": "https://storage.rootly.com/twilio/voicemail/ClockworkWaltz.mp3",
"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>",
"calling_tree_prompt": "<string>",
"paging_targets": [
{
"id": "<string>",
"type": "service",
"alert_urgency_id": "<string>"
}
],
"escalation_policy_trigger_params": {
"id": "<string>",
"type": "Service"
}
}
}
}'
{
"data": {
"id": "0d374534-7f04-4070-99d0-55c33cf42522",
"type": "live_call_routers",
"attributes": {
"kind": "voicemail",
"name": "live_call_router_staging",
"country_code": "US",
"phone_type": "local",
"phone_number": "+14155551234",
"voicemail_greeting": "Quo consequatur nihil voluptate.",
"slug": "voluptatum-tempore-recusandae-velit",
"enabled": true,
"created_at": "2025-08-02T12:39:30.406-07:00",
"updated_at": "2025-08-02T12:39:30.521-07:00",
"alert_urgency_id": "7a895cca-f0c2-431a-b85b-5e97de651b6a",
"escalation_policy_trigger": {
"id": "48277d4e-a198-4ea5-b32d-044601482366",
"type": "service"
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
live_call_router updated
The response is of type object
.
Was this page helpful?
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": "AU",
"phone_type": "local",
"voicemail_greeting": "<string>",
"caller_greeting": "<string>",
"waiting_music_url": "https://storage.rootly.com/twilio/voicemail/ClockworkWaltz.mp3",
"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>",
"calling_tree_prompt": "<string>",
"paging_targets": [
{
"id": "<string>",
"type": "service",
"alert_urgency_id": "<string>"
}
],
"escalation_policy_trigger_params": {
"id": "<string>",
"type": "Service"
}
}
}
}'
{
"data": {
"id": "0d374534-7f04-4070-99d0-55c33cf42522",
"type": "live_call_routers",
"attributes": {
"kind": "voicemail",
"name": "live_call_router_staging",
"country_code": "US",
"phone_type": "local",
"phone_number": "+14155551234",
"voicemail_greeting": "Quo consequatur nihil voluptate.",
"slug": "voluptatum-tempore-recusandae-velit",
"enabled": true,
"created_at": "2025-08-02T12:39:30.406-07:00",
"updated_at": "2025-08-02T12:39:30.521-07:00",
"alert_urgency_id": "7a895cca-f0c2-431a-b85b-5e97de651b6a",
"escalation_policy_trigger": {
"id": "48277d4e-a198-4ea5-b32d-044601482366",
"type": "service"
}
}
}
}