GET /call_routers/new
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/call_routers/new
Build Call Flow Rule with defaults.
Builds a Call Flow Rule with default attributes for the given router_type without saving it.
Params
| Param name | Description | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
message_type Optional |
Play A Message?
|
||||||||||||||||||||||
|
router_action Optional |
Choose An Action
|
||||||||||||||||||||||
|
record_token_filter_list Optional Blank value allowed |
Assign filters to the object by passing an array of key:value pairs
|
||||||||||||||||||||||
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to leads and calls by passing a comma separated string of key:value pairs.
|
||||||||||||||||||||||
|
description Optional Blank value allowed |
Describe the purpose of this call flow rule.
|
||||||||||||||||||||||
|
text_to_speech Optional Blank value allowed |
Text To Speech that will be spoken when
|
||||||||||||||||||||||
|
message_loop Optional Blank value allowed |
The message will be repeated this many times.
|
||||||||||||||||||||||
|
audio_file Optional Blank value allowed |
The audio file that will be played when
|
||||||||||||||||||||||
|
schedule_id Optional Blank value allowed |
The schedule that will be used when
|
||||||||||||||||||||||
|
buyer_ids Optional Blank value allowed |
Calls will be forwarded to these buyers when
|
||||||||||||||||||||||
|
buyer_group_ids Optional Blank value allowed |
Calls will be forwarded to these buyer groups when
|
||||||||||||||||||||||
|
buyer_offer_ids Optional Blank value allowed |
Calls will be forwarded to this offer when
|
||||||||||||||||||||||
|
hold_queue_caller_limit Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
hold_queue_percentage_size Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
max_hold_seconds Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
max_hold_seconds_average Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
name Optional Blank value allowed |
A short label for this call flow rule shown in the call flow list.
|
||||||||||||||||||||||
|
message_action_type Optional Blank value allowed |
The step this rule performs in the call flow, such as playing a message, dialing buyers, or adding to a hold queue.
|
||||||||||||||||||||||
|
text_to_speech_gender Optional Blank value allowed |
The voice used for the
|
||||||||||||||||||||||
|
key_press_timeout_seconds Optional Blank value allowed |
How many seconds to wait for a key press before continuing when
|
||||||||||||||||||||||
|
traffic_source_action_type Optional Blank value allowed |
How the traffic source should be altered when this rule runs.
|
||||||||||||||||||||||
|
traffic_source_action_id Optional Blank value allowed |
The traffic source to assign when
|
||||||||||||||||||||||
|
traffic_source_action_payout Optional Blank value allowed |
The alternate payout applied when
|
||||||||||||||||||||||
|
outbound_timeout_seconds Optional Blank value allowed |
How many seconds an outbound call to an agent is allowed to ring before it is considered unanswered.
|
||||||||||||||||||||||
|
use_with_find_a_buyer Optional Blank value allowed |
Only perform this action when a buyer can be matched for the call.
|
||||||||||||||||||||||
|
perform_action_if_buyer_is_available Optional Blank value allowed |
Only perform this action when a buyer is available. Companion setting to
|
||||||||||||||||||||||
|
auto_retry_next_buyer Optional Blank value allowed |
Automatically dial the next buyer if the current one does not answer.
|
||||||||||||||||||||||
|
auto_retry_next_buyer_seconds Optional Blank value allowed |
How many seconds to wait before dialing the next buyer when
|
||||||||||||||||||||||
|
inbound_call_route_async Optional Blank value allowed |
Route the inbound call asynchronously instead of holding the caller while this rule runs.
|
||||||||||||||||||||||
|
off_hook_no_lead_timeout Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
off_hook_calls_per_seat Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
off_hook_unaccepted_wait Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
off_hook_leads_needed Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
off_hook_dropped_call_seconds Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
off_hook_drop_limit_1 Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
off_hook_drop_cps_1 Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
off_hook_drop_limit_2 Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
off_hook_drop_cps_2 Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
action_digit Optional Blank value allowed |
Only perform this action if the caller pressed this key.
|
||||||||||||||||||||||
|
max_call_disposition_wait_seconds Optional Blank value allowed |
How many seconds to wait for an agent to disposition a call before moving on.
|
||||||||||||||||||||||
|
call_router_hangup_reason Optional Blank value allowed |
The reason recorded on the call when this rule hangs up the call.
|
||||||||||||||||||||||
|
fire_call_router_webhooks_before_action Optional Blank value allowed |
Fire this rule’s outgoing webhooks before performing its action instead of after.
|
||||||||||||||||||||||
|
backup_buyer_ids Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
backup_buyer_group_ids Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
voicemail_file Optional Blank value allowed |
The audio file an instant agent can play to a lead’s answering machine when
|
||||||||||||||||||||||
|
remove_voicemail_file Optional Blank value allowed |
Remove the currently configured
|
||||||||||||||||||||||
|
hold_music_file Optional Blank value allowed |
Custom music played to an instant agent while on hold when
|
||||||||||||||||||||||
|
remove_hold_music_file Optional Blank value allowed |
Remove the currently configured
|
||||||||||||||||||||||
|
key_press_flow_group_id Optional Blank value allowed |
The key press flow group used to process the caller’s key press response for this rule.
|
||||||||||||||||||||||
|
use_sound_playlist Optional Blank value allowed |
Play a random file from a sound playlist instead of a single uploaded
|
||||||||||||||||||||||
|
sound_playlist_id Optional Blank value allowed |
The sound playlist to play from when
|
||||||||||||||||||||||
|
hold_music_sound_playlist_id Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
voicemail_sound_playlist_id Optional Blank value allowed |
Used when
|
||||||||||||||||||||||
|
after_action_sound_playlist_enabled Optional Blank value allowed |
Play a sound playlist after this rule’s action completes.
|
||||||||||||||||||||||
|
after_action_sound_playlist_id Optional Blank value allowed |
The sound playlist played after this rule’s action completes, when
|