LiveCallRouters
Creates a Live Call Router
Creates a new Live Call Router from provided data
POST
/
v1
/
live_call_routers
Creates a Live Call Router
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": {
"name": "<string>",
"phone_number": "<string>",
"voicemail_greeting": "<string>",
"paging_targets": [
{
"id": "<string>",
"alert_urgency_id": "<string>"
}
],
"enabled": true,
"caller_greeting": "<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>",
"calling_tree_enabled": true,
"calling_tree_prompt": "<string>"
}
}
}
'{
"data": {
"id": "<string>",
"type": "live_call_routers",
"attributes": {
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"enabled": true,
"phone_number": "<string>",
"voicemail_greeting": "<string>",
"caller_greeting": "<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>",
"calling_tree_prompt": "<string>",
"paging_targets": [
{
"id": "<string>",
"alert_urgency_id": "<string>"
}
],
"escalation_policy_trigger_params": {
"id": "<string>"
}
}
},
"included": [
{
"id": "<string>",
"type": "<string>",
"attributes": {},
"relationships": {}
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/vnd.api+json
Show child attributes
Show child attributes
Was this page helpful?
Previous
Generates a phone number for Live Call RouterGenerates a phone number for Live Call Router
Next
⌘I
Creates a Live Call Router
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": {
"name": "<string>",
"phone_number": "<string>",
"voicemail_greeting": "<string>",
"paging_targets": [
{
"id": "<string>",
"alert_urgency_id": "<string>"
}
],
"enabled": true,
"caller_greeting": "<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>",
"calling_tree_enabled": true,
"calling_tree_prompt": "<string>"
}
}
}
'{
"data": {
"id": "<string>",
"type": "live_call_routers",
"attributes": {
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"enabled": true,
"phone_number": "<string>",
"voicemail_greeting": "<string>",
"caller_greeting": "<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>",
"calling_tree_prompt": "<string>",
"paging_targets": [
{
"id": "<string>",
"alert_urgency_id": "<string>"
}
],
"escalation_policy_trigger_params": {
"id": "<string>"
}
}
},
"included": [
{
"id": "<string>",
"type": "<string>",
"attributes": {},
"relationships": {}
}
]
}