Mitigation Numbers
Manage spam-tag mitigation and branded caller ID for your phone numbers. Enabling a number registers it with the mobile carriers to remove "Spam Likely" labels; setting a branded name displays your business name as the caller ID on outbound calls. A one-time business compliance profile must be completed before numbers can be enabled; carriers approve the business in 1-3 business days, then approve each submitted number in about 2-3 weeks.
GET /mitigation_numbers
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/mitigation_numbers
List mitigation numbers
List the mitigation numbers in your account. Each row includes the per-carrier reputation reported by T-Mobile, Verizon, and AT&T (displayed caller ID and whether the number is currently spam-flagged), the branded name, and the carrier approval status.
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
|
PUT /mitigation_numbers/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/mitigation_numbers/:id
Update a number's spam-tag mitigation
Enable or disable spam-tag mitigation, or set the branded name, for a number.
Params
| Param name | Description |
|---|---|
|
id Required |
The id of the mitigation number to update.
|
|
enabled Optional Blank value allowed |
Whether spam-tag mitigation is active for this number. Enabling registers the number with the mobile carriers for spam-label removal; carriers typically take 2-3 weeks to approve a submitted number.
|
|
branded_name Optional Blank value allowed |
The business name shown as branded caller ID. Calls placed from a number with a branded name are billed per call.
|
DELETE /mitigation_numbers/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/mitigation_numbers/:id
Remove a number from spam-tag mitigation
Remove a number from spam-tag mitigation. Deactivates the number with the carriers, then soft-deletes it. Use this to remove numbers that are not hosted on TrackDrive.
Params
| Param name | Description |
|---|---|
|
id Required |
The id of the mitigation number to update.
|