GET /api/v1/schedule_triggers
Search for Schedule Triggers

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

schedule_id
optional

Schedule internal id

ids
optional

Return records matching these ids.

  • Must be an array of decimal values. EG: [0, 1, 2, 3]


GET /api/v1/schedule_triggers/new
Returns a new Schedule Trigger

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

schedule_id
required

Schedule internal id


POST /api/v1/schedule_triggers
Create a Schedule Trigger

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

schedule_id
required

Schedule internal id

name
required

The trigger name

  • Must be String

trigger_type
required

The schedule ends when the lead has taken this action.

  • Must be one of: none, tokens_match, expired, buyer_connected, buyer_converted, dial.

expire_minutes
optional

The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.

  • Must be a decimal number.

expire_timestamp_name
optional , nil allowed

translation missing: en.api.schedule_triggers.expire_timestamp_name

  • Must be one of: created_at, first_queued_at, first_action_at.

token_values
optional , nil allowed

The first trigger matching the lead will be used.

  • Must be a valid list of filters. Example filters:
    ["interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"]

token_value_ids
optional , nil allowed

The first trigger matching the lead will be used.

attribution_token_values
optional , nil allowed

These extra tokens will be applied to leads that exit the schedule through this trigger.

  • Must be a valid list of tokens. Example tokens:
    ["buyer_interest:loan","another_token:value"]

attribution_token_value_ids
optional , nil allowed

These extra tokens will be applied to leads that exit the schedule through this trigger.

sortable_order
optional , nil allowed

The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.

  • Must be a decimal number.


GET /api/v1/schedule_triggers/:id
Returns a Schedule Trigger by ID

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String


PUT /api/v1/schedule_triggers/:id
Updates a Schedule Trigger by ID

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String

schedule_id
optional , nil allowed

Schedule internal id

name
optional

The trigger name

  • Must be String

trigger_type
optional

The schedule ends when the lead has taken this action.

  • Must be one of: none, tokens_match, expired, buyer_connected, buyer_converted, dial.

expire_minutes
optional

The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.

  • Must be a decimal number.

token_values
optional , nil allowed

The first trigger matching the lead will be used.

  • Must be a valid list of filters. Example filters:
    ["interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"]

token_value_ids
optional , nil allowed

The first trigger matching the lead will be used.

attribution_token_values
optional , nil allowed

These extra tokens will be applied to leads that exit the schedule through this trigger.

  • Must be a valid list of tokens. Example tokens:
    ["buyer_interest:loan","another_token:value"]

attribution_token_value_ids
optional , nil allowed

These extra tokens will be applied to leads that exit the schedule through this trigger.

sortable_order
optional , nil allowed

The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first.

  • Must be a decimal number.


DELETE /api/v1/schedule_triggers/:id
Delete a Schedule Trigger by ID

Params

Param name
Description
auth_token
optional

Authorize requests using your token. Get it from your profile: trackdrive.net/profile/edit

  • Must be String