Response Example

{
  "status" : 200,
  "errors" : {},
  "schedule_trigger" : {
    "id" : 39,
    "created_at" : "2019-05-14T00:02:46.069+00:00",
    "updated_at" : "2019-05-14T00:02:46.069+00:00",
    "user_updated_at" : null,
    "name" : "When the Lead is connected to a Buyer.",
    "trigger_type" : "buyer_connected",
    "expire_minutes" : null,
    "expire_timestamp_name" : "created_at",
    "company_id" : 34313,
    "schedule_id" : 121,
    "sortable_order" : null,
    "token_values" : [],
    "attribution_token_values" : [],
    "token_value_ids" : null,
    "attribution_token_value_ids" : null,
    "type" : "ScheduleTrigger"
  },
  "metadata" : {
    "root" : "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
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.