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
|
||||||
page Optional |
Return the next page of results.
|
||||||
created_at_to Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
||||||
created_at_from Optional |
Date formatted like 2016-01-01 12:25:15 -0500
|
||||||
order Optional |
Sort results by this field.
|
||||||
order_dir Optional |
Sort results in ascending or descending order.
|
||||||
fulltext Optional |
Search for any record that matches this text
|
||||||
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:
|
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
||||||
name Optional Blank Value Allowed |
Give this offer a name. Example: Insurance Calls
|
||||||
user_offer_id Optional Blank Value Allowed |
Give this offer a unique ID. Example: IC001
|
||||||
description Optional Blank Value Allowed |
A human readable description of the record.
|
||||||
paused Optional Blank Value Allowed |
Pause or unpause the offer. Paused offers will reject all calls and disable all schedules.
|
||||||
record_calls Optional Blank Value Allowed |
Record Calls
|
||||||
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.
|
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
||||||
reset_numbers_api_key Optional |
|
||||||
name Optional Blank Value Allowed |
Give this offer a name. Example: Insurance Calls
|
||||||
user_offer_id Optional Blank Value Allowed |
Give this offer a unique ID. Example: IC001
|
||||||
description Optional Blank Value Allowed |
A human readable description of the record.
|
||||||
paused Optional Blank Value Allowed |
Pause or unpause the offer. Paused offers will reject all calls and disable all schedules.
|
||||||
record_calls Optional Blank Value Allowed |
Record Calls
|
||||||
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.
|
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|