Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/vnd.api+json
Response
live_call_router created with multiple notification targets
Creates a new Live Call Router from provided data
curl --request POST \
--url https://api.rootly.com/v1/live_call_routers \
--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",
"phone_number": "<string>",
"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": "479fe1ca-6c31-43fe-90a0-24b8102e1810",
"type": "live_call_routers",
"attributes": {
"kind": "voicemail",
"name": "live_call_router-prod",
"country_code": "US",
"phone_type": "toll_free",
"phone_number": "+14155552344",
"voicemail_greeting": "hello",
"slug": "live_call_router-prod",
"enabled": true,
"created_at": "2025-11-27T00:10:57.849-08:00",
"updated_at": "2025-11-27T00:10:57.877-08:00",
"calling_tree_prompt": "Press 1 for service, Press 2 for escalation policy",
"paging_targets": [
{
"id": "da560ed3-aa74-4a28-8dd4-cbea2dd9c30a",
"type": "service",
"alert_urgency_id": "1647ebfe-8fe0-478c-81d3-dd4a18f43663"
},
{
"id": "bc579d47-d77b-48ab-ac2f-8a91dcaab072",
"type": "escalation_policy",
"alert_urgency_id": "34e296c1-495f-467d-b210-2106482d391d"
}
]
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
live_call_router created with multiple notification targets
Show child attributes
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/live_call_routers \
--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",
"phone_number": "<string>",
"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": "479fe1ca-6c31-43fe-90a0-24b8102e1810",
"type": "live_call_routers",
"attributes": {
"kind": "voicemail",
"name": "live_call_router-prod",
"country_code": "US",
"phone_type": "toll_free",
"phone_number": "+14155552344",
"voicemail_greeting": "hello",
"slug": "live_call_router-prod",
"enabled": true,
"created_at": "2025-11-27T00:10:57.849-08:00",
"updated_at": "2025-11-27T00:10:57.877-08:00",
"calling_tree_prompt": "Press 1 for service, Press 2 for escalation policy",
"paging_targets": [
{
"id": "da560ed3-aa74-4a28-8dd4-cbea2dd9c30a",
"type": "service",
"alert_urgency_id": "1647ebfe-8fe0-478c-81d3-dd4a18f43663"
},
{
"id": "bc579d47-d77b-48ab-ac2f-8a91dcaab072",
"type": "escalation_policy",
"alert_urgency_id": "34e296c1-495f-467d-b210-2106482d391d"
}
]
}
}
}