Suppression Files
A CSV upload job that bulk adds or removes phone numbers from a buyer suppression list.
GET /buyer_suppression_files
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppression_files
List Suppression File records.
List the caller ID files that have been imported against your Buyer Suppression lists, including their processing status and counts.
Params
| Param name | Description |
|---|---|
|
ids Optional |
Return records matching these ids.
|
|
page Optional |
Return the next page of results.
|
|
per_page Optional |
How many results to return per page. The default is 25.
|
|
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
|
|
fulltext Optional |
Search for any record that matches this text
|
|
time_zone Optional |
Date ranges will be parsed using this time zone.
|
|
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:
|
|
root Optional |
Pass
|
GET /buyer_suppression_files/new
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppression_files/new
Build Suppression File with defaults.
Return a blank Suppression File populated with default attribute values, useful for building a create form.
Params
| Param name | Description |
|---|---|
|
name Optional Blank value allowed |
Name
|
|
buyer_suppression_id Optional Blank value allowed |
Buyer Suppression
|
|
apply_block_or_unblock Optional Blank value allowed |
Apply Block Or Unblock
|
|
import_file Optional Blank value allowed |
Import File
|
|
caller_id_column_name Optional Blank value allowed |
Caller Id Column Name
|
|
headers Optional Blank value allowed |
The column headers found in the uploaded CSV file, used to populate the choices for caller_id_column_name.
|
POST /buyer_suppression_files
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppression_files
Create Suppression File.
Upload a file of caller IDs to bulk block or unblock numbers against a Buyer Suppression list. The named column supplies the caller ID, and the file is processed asynchronously; check status, counts, and any error message via the show or index endpoints.
Params
| Param name | Description |
|---|---|
|
name Optional Blank value allowed |
Name
|
|
buyer_suppression_id Optional Blank value allowed |
Buyer Suppression
|
|
apply_block_or_unblock Optional Blank value allowed |
Apply Block Or Unblock
|
|
import_file Optional Blank value allowed |
Import File
|
|
caller_id_column_name Optional Blank value allowed |
Caller Id Column Name
|
|
headers Optional Blank value allowed |
The column headers found in the uploaded CSV file, used to populate the choices for caller_id_column_name.
|
GET /buyer_suppression_files/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppression_files/:id
Get Suppression File by id.
Get the processing status, row counts, and any error message for a single Suppression File import by id.
PUT /buyer_suppression_files/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppression_files/:id
Update Suppression File by id.
Update a Suppression File's name or the caller ID column it imports from; the apply_block_or_unblock setting can only be chosen when the file is created. If the file has not finished importing, saving this update also resumes its background processing.
Params
| Param name | Description |
|---|---|
|
name Optional Blank value allowed |
Name
|
|
buyer_suppression_id Optional Blank value allowed |
Buyer Suppression
|
|
apply_block_or_unblock Optional Blank value allowed |
Apply Block Or Unblock
|
|
import_file Optional Blank value allowed |
Import File
|
|
caller_id_column_name Optional Blank value allowed |
Caller Id Column Name
|
|
headers Optional Blank value allowed |
The column headers found in the uploaded CSV file, used to populate the choices for caller_id_column_name.
|