Suppression Lists
Do-not-call lists of phone numbers that block matching contacts from being sent to associated offers, schedules, or buyers.
GET /buyer_suppressions
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions
List suppression lists.
Returns the suppression lists configured on the account, used to block matching phone numbers from reaching offers, schedules, or buyers. Supports filtering by ids plus standard pagination and ordering. Restricted to account superusers.
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_suppressions/new
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions/new
Build suppression list with defaults.
Returns a suppression list built with default attributes for previewing available fields. It is not saved.
Params
| Param name | Description |
|---|---|
|
name Optional |
Name
|
|
caller_id_column_name Optional Blank value allowed |
Caller Id Column Name
|
|
buyer_ids Optional Blank value allowed |
The list of internal buyer ID’s that will use this suppression list.
|
POST /buyer_suppressions
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions
Create suppression list.
Creates a new suppression list that can then be attached to offers, schedules, or buyers to block matching phone numbers from reaching them. Restricted to account superusers.
Params
| Param name | Description |
|---|---|
|
name Required |
Name
|
|
import_file Optional |
Import File
|
|
caller_id_column_name Optional Blank value allowed |
Caller Id Column Name
|
|
buyer_ids Optional Blank value allowed |
The list of internal buyer ID’s that will use this suppression list.
|
|
headers Optional Blank value allowed |
The column headers found in the uploaded CSV file, used to populate the choices for caller_id_column_name.
|
|
add_buyer_ids Optional Blank value allowed |
Append buyers to this record.
|
|
remove_buyer_ids Optional Blank value allowed |
Remove buyers from the record.
|
|
add_user_buyer_ids Optional Blank value allowed |
Append buyers to the record using the buyer field
|
|
remove_user_buyer_ids Optional Blank value allowed |
Remove buyers from the record using buyer field
|
GET /buyer_suppressions/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions/:id
Get suppression list by id.
Returns a single suppression list by id, including its import status and counts.
PUT /buyer_suppressions/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions/:id
Update suppression list by id.
Updates a suppression list's name or the buyers it is attached to. It does not add or remove individual blocked numbers; use caller_block and caller_unblock for that.
Params
| Param name | Description |
|---|---|
|
name Optional Blank value allowed |
Name
|
|
caller_id_column_name Optional Blank value allowed |
Caller Id Column Name
|
|
buyer_ids Optional Blank value allowed |
The list of internal buyer ID’s that will use this suppression list.
|
|
headers Optional Blank value allowed |
The column headers found in the uploaded CSV file, used to populate the choices for caller_id_column_name.
|
|
add_buyer_ids Optional Blank value allowed |
Append buyers to this record.
|
|
remove_buyer_ids Optional Blank value allowed |
Remove buyers from the record.
|
|
add_user_buyer_ids Optional |
Append buyers to the record using the buyer field
|
|
remove_user_buyer_ids Optional |
Remove buyers from the record using buyer field
|
DELETE /buyer_suppressions/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions/:id
Destroy suppression list by id.
Permanently deletes a suppression list. Numbers it contained are no longer blocked once it is removed.
POST /buyer_suppressions/:id/caller_block
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions/:id/caller_block
Add phone numbers to a suppression list
Adds one or more phone numbers to an existing suppression list without replacing the rest of its entries. Numbers are normalized to E.164 and any shorter than 5 digits are rejected.
Params
| Param name | Description |
|---|---|
|
caller_ids Optional |
An array of phone numbers to block.
|
POST /buyer_suppressions/:id/caller_unblock
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions/:id/caller_unblock
Remove phone numbers from a suppression list
Removes one or more phone numbers from an existing suppression list, unblocking them going forward.
Params
| Param name | Description |
|---|---|
|
caller_ids Optional |
An array of phone numbers to block.
|