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:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
offer_id Required |
Refer to the offer api for details Validations:
|
||||||
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass 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:
|
||||||
|
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:
|