Response Example

{
  "status" : 200,
  "errors" : {},
  "outgoing" : {
    "id" : 1590,
    "created_at" : "2019-08-11T14:37:37.413+00:00",
    "updated_at" : "2019-08-11T14:37:37.413+00:00",
    "user_updated_at" : null,
    "name" : "Schedule Webhook",
    "trigger_type" : null,
    "trigger_duration" : null,
    "company_id" : 34313,
    "offer_id" : null,
    "schedule_action_id" : null,
    "type" : "Webhook::Outgoing",
    "sortable_order" : -1,
    "token_value_ids" : null,
    "outgoing_url_ids" : [],
    "token_value_map_ids" : []
  },
  "metadata" : {
    "root" : "outgoing"
  }
}

Params

Param name
Description
auth_token
optional

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

  • Must be String

offer_id
optional

Assign the record to this Offer.

schedule_action_id
optional

Assign the record to this Schedule Action.

trigger_type
optional

When does this trigger fire?

  • Must be one of: every_call, buyer_dialled, buyer_answered, timer, either_converted, buyer_converted, buyer_did_not_convert, only_buyer_converted, offer_converted, offer_did_not_convert, only_offer_converted, both_converted, did_not_convert.

trigger_duration
optional , nil allowed

How many seconds must pass for the trigger to fire?

  • Must be a decimal number.

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.

name
required

The human friendly name of this webhook.

  • Must be String