curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" "https://[your-subdomain].trackdrive.com/api/v1/schedules?page=1&order=created_at"
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|
||||||
|
page Optional |
Return the next page of results. Validations:
|
||||||
|
created_at_to Optional |
Date formatted like 2016-01-01 12:25:15 -0500 Validations:
|
||||||
|
created_at_from Optional |
Date formatted like 2016-01-01 12:25:15 -0500 Validations:
|
||||||
|
order Optional |
Sort results by this field. Validations:
|
||||||
|
order_dir Optional |
Sort results in ascending or descending order. Validations:
|
||||||
|
fulltext Optional |
Search for any record that matches this text Validations:
|
||||||
|
columns Optional |
Specify the columns you would like returned by the API for a given resource.
Limiting the columns can significantly increase API response time since only the requested data will be processed.
columns=uuid,number,created_at
Must be any combination of:
Validations:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|
||||||
|
name Optional Blank Value Allowed |
Name Validations:
|
||||||
|
offer_id Optional Blank Value Allowed |
Offer Validations:
|
||||||
|
description Optional Blank Value Allowed |
A human readable description of the record. Validations:
|
||||||
|
paused Optional Blank Value Allowed |
Paused Validations:
|
This endpoint creates a new Lead and places an outbound call using the specified Schedule.
Enforces CPS (calls per second) limits.
Checks DNC and contact suppression rules before dialing.
Returns a serialized Call record if successful.
Raises errors for invalid numbers, inactive schedules, suppressed contacts, or duplicate concurrent leads.
| Param name |
Description
Validations
|
|---|---|
|
schedule_id Required |
The ID of the Schedule to use for the outbound call. Must belong to the current company and be active. Validations:
|
|
to Required |
Destination phone number to dial. Must be a valid number and not suppressed. Validations:
|
|
data Optional |
Optional hash of additional lead attributes. Validations:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|
||||||
|
name Optional Blank Value Allowed |
Name Validations:
|
||||||
|
offer_id Optional Blank Value Allowed |
Offer Validations:
|
||||||
|
description Optional Blank Value Allowed |
A human readable description of the record. Validations:
|
||||||
|
paused Optional Blank Value Allowed |
Paused Validations:
|
||||||
|
sortable_order Optional Blank Value Allowed |
The order in which records will be sorted. Values are sorted in ascending order; smaller values are listed first. Validations:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|