PUT /leads/:lead_id/lead_move_to_end_of_schedule

Lead token required
https://[your-subdomain].trackdrive.com/api/v1/leads/:lead_id/lead_move_to_end_of_schedule

End a lead's schedule by lead ID

Skip the remaining steps of a single active lead, identified by its lead_id (uuid) and lead_token; an inactive lead is left as it is. The lead then runs whichever of its schedule's end-of-schedule actions apply to it, and ends, unless one of those actions restarts the schedule or moves the lead to another schedule.

Params

Param name Description
lead_token
Required

The lead token is set to either the offer_lead_token you get at trackdrive.com/offers or a schedule_lead_token you get from trackdrive.com/schedules. The only difference is the use of offer_lead_token will just send data to the offer which is picked up when a call is made with the caller_id of the lead. EG: If a Call Center is transferring data before they send you a call. The schedule_lead_token will start the actions associated with the schedule.

  • Must be a String

lead_id
Required

The Trackdrive lead id (uuid) returned in the response when the lead was submitted. Identifies exactly one lead, so updates never touch another lead that shares the same caller_id.

  • Must be a String