curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" "https://[your-subdomain].trackdrive.com/api/v1/offers?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:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|
||||||
|
name Optional Blank Value Allowed |
Give this offer a name. Example: Insurance Calls Validations:
|
||||||
|
user_offer_id Optional Blank Value Allowed |
Give this offer a unique ID. Example: IC001 Validations:
|
||||||
|
description Optional Blank Value Allowed |
A human readable description of the record. Validations:
|
||||||
|
paused Optional Blank Value Allowed |
Pause or unpause the offer. Paused offers will reject all calls and disable all schedules. Validations:
|
||||||
|
record_calls Optional Blank Value Allowed |
Record Calls Validations:
|
||||||
|
record_calls_require_authorization Optional Blank Value Allowed |
Require the user to be logged into TrackDrive, with access to your company, in order to have permission to download call recordings on this offer. Validations:
|
| Param name |
Description
Validations
|
||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass Validations:
|
||||||
|
reset_numbers_api_key Optional |
Validations:
|
||||||
|
name Optional Blank Value Allowed |
Give this offer a name. Example: Insurance Calls Validations:
|
||||||
|
user_offer_id Optional Blank Value Allowed |
Give this offer a unique ID. Example: IC001 Validations:
|
||||||
|
description Optional Blank Value Allowed |
A human readable description of the record. Validations:
|
||||||
|
paused Optional Blank Value Allowed |
Pause or unpause the offer. Paused offers will reject all calls and disable all schedules. Validations:
|
||||||
|
record_calls Optional Blank Value Allowed |
Record Calls Validations:
|
||||||
|
record_calls_require_authorization Optional Blank Value Allowed |
Require the user to be logged into TrackDrive, with access to your company, in order to have permission to download call recordings on this offer. Validations:
|