Telephone Accounts
The Phone Providers in your Trackdrive account. One of: Trackdrive, Twilio, and Plivo.
GET /provider_configurations
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/provider_configurations
List Phone Providers
Returns the telephone providers configured on the account (Trackdrive, Twilio, or Plivo), used as the underlying carrier for numbers and number pools.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
||||||
|
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
|
||||||
|
order Optional |
Sort results by this field.
|
GET /provider_configurations/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/provider_configurations/:id
Find Specific Phone Provider
Returns a single telephone provider configuration by id. Requires the integrations permission.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
PUT /provider_configurations/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/provider_configurations/:id
Update Specific Phone Provider
Updates a telephone provider's name or whether it is the default provider used for new number purchases. Restricted to account superusers and requires the integrations permission; the provider's auth token cannot be changed through this endpoint.
Params
| Param name | Description | ||||||
|---|---|---|---|---|---|---|---|
|
serializer Optional Blank value allowed |
This endpoint supports multiple response formats. Pass
|
||||||
|
name Optional Blank value allowed |
Provide a name that will appear throughout Trackdrive.
|
||||||
|
is_default Optional Blank value allowed |
Is this provider the default for new number purchases.
|
||||||
|
block_rate_limited_caller Optional Blank value allowed |
When a caller exceeds its rate limit, permanently block that caller’s number instead of only rejecting the excess calls.
|
||||||
|
max_requests_per_caller Optional Blank value allowed |
Maximum inbound calls allowed from a single caller within requests_interval_for_caller seconds before it is treated as abusive traffic.
|
||||||
|
requests_interval_for_caller Optional Blank value allowed |
Rolling time window, in seconds, used to measure max_requests_per_caller.
|
||||||
|
max_requests_per_number Optional Blank value allowed |
Maximum inbound calls allowed to a single tracking number within requests_interval_for_number seconds before it is treated as abusive traffic.
|
||||||
|
requests_interval_for_number Optional Blank value allowed |
Rolling time window, in seconds, used to measure max_requests_per_number.
|
||||||
|
max_requests_per_provider Optional Blank value allowed |
Maximum inbound calls allowed across this provider account within requests_interval_for_provider seconds before it is treated as abusive traffic.
|
||||||
|
requests_interval_for_provider Optional Blank value allowed |
Rolling time window, in seconds, used to measure max_requests_per_provider.
|
||||||
|
max_requests_per_npa_nxx Optional Blank value allowed |
Maximum inbound calls allowed from a single area code and prefix combination within requests_interval_for_npa_nxx seconds before it is treated as abusive traffic.
|
||||||
|
requests_interval_for_npa_nxx Optional Blank value allowed |
Rolling time window, in seconds, used to measure max_requests_per_npa_nxx.
|