curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -X PUT "https://trackdrive.com/api/v1/leads/e36e2da0-6984-4c59-999a-9207c973e143?opt_out=true" # Update leads with application/json: curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X PUT -d '{"opt_out":true}' "https://trackdrive.com/api/v1/leads/e36e2da0-6984-4c59-999a-9207c973e143"
Param name |
Description
Validations
|
---|---|
contact_field_type Optional Blank Value Allowed |
Pass an ID belonging to an
|
caller_id Optional Blank Value Allowed |
The callerID for the lead. This is the number Trackdrive will dial when making outbound calls to the lead. This is also the number where Trackdrive will send SMS.
|
blocked Optional Blank Value Allowed |
Set this to true in order to prevent this lead from calling any of your telephone numbers. This will also prevent all outbound actions from Trackdrive.
|
opt_out Optional Blank Value Allowed |
Select leads that have opted-out.
|
email Optional Blank Value Allowed |
The email address for the lead. The lead's email is required for sending emails from schedules to leads.
|
traffic_source_id Optional Blank Value Allowed |
Update the traffic source associated with this lead.
|
next_action_at Optional Blank Value Allowed |
Change when the next action is scheduled to run. EG If you mistakenly scheduled leads to wait until next week, you can use this to bulk update them to run 1 second from now.
|
schedule_callback_at Optional |
Schedule a callback with the submitted lead. Must be a valid time EG: 2021-07-23 14:26:43 +0000
|
schedule_callback_in_seconds Optional |
Schedule a callback with the submitted lead in X seconds. Must be a valid integer EG: 3600
|
schedule_start Optional Blank Value Allowed |
Translation missing: en.api.leads.schedule_start
|
schedule_stop Optional Blank Value Allowed |
Removes the lead from the Schedule. No further actions will be taken.
|
move_to_another_schedule_id Optional Blank Value Allowed |
Move To Another Schedule - Assign matching leads to the selected schedule. Lead's already on the selected schedule will restart their schedule.
|
apply_to Optional Blank Value Allowed |
Should the data you're sending also be applied to calls associated with this lead?
|
data Optional Blank Value Allowed |
Trackdrive will convert this hash of JSON data into tokens. Inbound and Outbound calls made and received from this Lead will automatically inherit these tokens.
|