Number Pools
A pool of tracking phone numbers assigned to a traffic source; a different number is swapped in per website visitor to attribute their calls.
GET /ring_pools
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/ring_pools
List Phone Number Pools.
Returns the phone number pools configured on the account, used for dynamic number insertion tracking on a traffic source or offer. Supports CSV export and standard filtering and pagination.
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 /ring_pools/new
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/ring_pools/new
Build Phone Number Pool with defaults.
Returns a phone number pool built with default attributes for previewing available fields. It is not saved.
Params
| Param name | Description |
|---|---|
|
offer_id Optional Blank value allowed |
Offer
|
|
provider_configuration_id Optional Blank value allowed |
Refer to the provider api for details
|
|
traffic_source_id Optional Blank value allowed |
Traffic Source
|
|
numbers_count Optional Blank value allowed |
Numbers Count
|
|
toll_free Optional Blank value allowed |
Toll Free
|
|
country Optional Blank value allowed |
Country
|
|
number_limit Optional Blank value allowed |
Number Limit
|
|
name Optional Blank value allowed |
Name
|
|
description Optional Blank value allowed |
A human readable description of this Number Pool.
|
|
external_record_id Optional Blank value allowed |
Your own identifier for this Number Pool, used to correlate it with a record in an external system.
|
|
is_active Optional Blank value allowed |
Use this Number Pool for Dynamic Number Insertion. Only one Number Pool can be active per Offer and Traffic Source.
|
|
per_visitor Optional Blank value allowed |
Assign each website visitor their own number from the pool, so calls can be attributed to that visitor.
|
|
token_hold_time Optional Blank value allowed |
How many seconds a number stays assigned to a caller’s token before it can be reassigned.
|
|
number_stockpile Optional Blank value allowed |
How many numbers to keep in reserve, ready and unassigned, within this pool.
|
|
auto_rent_numbers Optional Blank value allowed |
Automatically purchase numbers up to the Number Limit as they are needed.
|
|
area_code_id Optional Blank value allowed |
The preferred area code to purchase numbers from when Auto Rent Numbers is enabled.
|
|
hide_embedded_access Optional Blank value allowed |
Prevent this Number Pool from being used for embedded Dynamic Number Insertion access on more than one Traffic Source per Offer.
|
|
google_analytics Optional Blank value allowed |
Track calls from this Number Pool with Google Analytics.
|
|
google_analytics_account Optional Blank value allowed |
Your Google Analytics account id used when Google Analytics is enabled.
|
|
maximum_ping_time Optional Blank value allowed |
The maximum number of seconds a browser will wait for a number to be returned before giving up.
|
|
extensions_length Optional Blank value allowed |
The number of digits used for extensions when Extensions are enabled on this Number Pool.
|
|
extensions_minimum Optional Blank value allowed |
The lowest extension number that can be assigned.
|
|
extensions_maximum Optional Blank value allowed |
The highest extension number that can be assigned.
|
|
fill_pool Optional Blank value allowed |
Immediately purchase numbers until this pool reaches its Number Limit.
|
|
traffic_source_override_lead_traffic_source Optional Blank value allowed |
Force calls placed to this Number Pool’s numbers to credit this pool’s Traffic Source, even when the lead’s Traffic Source is different.
|
|
dial_with_area_codes Optional Blank value allowed |
When placing outbound calls, prefer a number from the pool matching the consumer’s area code. If none is available, an area code match from area_code_maps or any toll free number in the pool is used instead.
|
|
dial_with_any_state_area_code Optional Blank value allowed |
When Dial With Area Codes is enabled and no matching area code is available, allow dialing with any area code in the consumer’s state.
|
|
attribution_token_value_ids Optional Blank value allowed |
The ids of the Token Values whose tokens will be additionally applied to calls handled by this Number Pool.
|
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to calls handled by this Number Pool by passing a comma separated string of key:value pairs.
|
|
cid Optional Blank value allowed |
Alternative to offer_id. Matches an Offer by your own external Offer identifier instead.
|
|
afid Optional Blank value allowed |
Alternative to traffic_source_id. Matches a Traffic Source by your own external Traffic Source identifier instead.
|
|
number_type Optional Blank value allowed |
The type of Number Pool, such as RingPool for phone tracking numbers or SmsNumberGroup for SMS sending numbers.
|
POST /ring_pools
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/ring_pools
Create Phone Number Pool.
Creates a phone number pool tied to an offer and a telephone provider, from which Trackdrive allocates numbers for dynamic number insertion. Requires offer_id and provider_configuration_id, and requires the setup_system permission.
Params
| Param name | Description |
|---|---|
|
offer_id Required |
Offer
|
|
provider_configuration_id Required |
Refer to the provider api for details
|
|
traffic_source_id Optional Blank value allowed |
Traffic Source
|
|
numbers_count Optional Blank value allowed |
Numbers Count
|
|
toll_free Optional Blank value allowed |
Toll Free
|
|
country Optional Blank value allowed |
Country
|
|
number_limit Optional Blank value allowed |
Number Limit
|
|
name Optional Blank value allowed |
Name
|
|
description Optional Blank value allowed |
A human readable description of this Number Pool.
|
|
external_record_id Optional Blank value allowed |
Your own identifier for this Number Pool, used to correlate it with a record in an external system.
|
|
is_active Optional Blank value allowed |
Use this Number Pool for Dynamic Number Insertion. Only one Number Pool can be active per Offer and Traffic Source.
|
|
per_visitor Optional Blank value allowed |
Assign each website visitor their own number from the pool, so calls can be attributed to that visitor.
|
|
token_hold_time Optional Blank value allowed |
How many seconds a number stays assigned to a caller’s token before it can be reassigned.
|
|
number_stockpile Optional Blank value allowed |
How many numbers to keep in reserve, ready and unassigned, within this pool.
|
|
auto_rent_numbers Optional Blank value allowed |
Automatically purchase numbers up to the Number Limit as they are needed.
|
|
area_code_id Optional Blank value allowed |
The preferred area code to purchase numbers from when Auto Rent Numbers is enabled.
|
|
hide_embedded_access Optional Blank value allowed |
Prevent this Number Pool from being used for embedded Dynamic Number Insertion access on more than one Traffic Source per Offer.
|
|
google_analytics Optional Blank value allowed |
Track calls from this Number Pool with Google Analytics.
|
|
google_analytics_account Optional Blank value allowed |
Your Google Analytics account id used when Google Analytics is enabled.
|
|
maximum_ping_time Optional Blank value allowed |
The maximum number of seconds a browser will wait for a number to be returned before giving up.
|
|
extensions_length Optional Blank value allowed |
The number of digits used for extensions when Extensions are enabled on this Number Pool.
|
|
extensions_minimum Optional Blank value allowed |
The lowest extension number that can be assigned.
|
|
extensions_maximum Optional Blank value allowed |
The highest extension number that can be assigned.
|
|
fill_pool Optional Blank value allowed |
Immediately purchase numbers until this pool reaches its Number Limit.
|
|
traffic_source_override_lead_traffic_source Optional Blank value allowed |
Force calls placed to this Number Pool’s numbers to credit this pool’s Traffic Source, even when the lead’s Traffic Source is different.
|
|
dial_with_area_codes Optional Blank value allowed |
When placing outbound calls, prefer a number from the pool matching the consumer’s area code. If none is available, an area code match from area_code_maps or any toll free number in the pool is used instead.
|
|
dial_with_any_state_area_code Optional Blank value allowed |
When Dial With Area Codes is enabled and no matching area code is available, allow dialing with any area code in the consumer’s state.
|
|
attribution_token_value_ids Optional Blank value allowed |
The ids of the Token Values whose tokens will be additionally applied to calls handled by this Number Pool.
|
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to calls handled by this Number Pool by passing a comma separated string of key:value pairs.
|
|
cid Optional Blank value allowed |
Alternative to offer_id. Matches an Offer by your own external Offer identifier instead.
|
|
afid Optional Blank value allowed |
Alternative to traffic_source_id. Matches a Traffic Source by your own external Traffic Source identifier instead.
|
|
number_type Optional Blank value allowed |
The type of Number Pool, such as RingPool for phone tracking numbers or SmsNumberGroup for SMS sending numbers.
|
GET /ring_pools/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/ring_pools/:id
Get Phone Number Pool by id.
Returns a single phone number pool by id, including its size, country, and provider configuration. Requires the setup_system permission.
PUT /ring_pools/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/ring_pools/:id
Update Phone Number Pool by id.
Updates a phone number pool's offer, provider, size, or other tracking settings. Requires the setup_system permission.
Params
| Param name | Description |
|---|---|
|
offer_id Optional Blank value allowed |
Offer
|
|
provider_configuration_id Optional Blank value allowed |
Refer to the provider api for details
|
|
traffic_source_id Optional Blank value allowed |
Traffic Source
|
|
numbers_count Optional Blank value allowed |
Numbers Count
|
|
toll_free Optional Blank value allowed |
Toll Free
|
|
country Optional Blank value allowed |
Country
|
|
number_limit Optional Blank value allowed |
Number Limit
|
|
name Optional Blank value allowed |
Name
|
|
description Optional Blank value allowed |
A human readable description of this Number Pool.
|
|
external_record_id Optional Blank value allowed |
Your own identifier for this Number Pool, used to correlate it with a record in an external system.
|
|
is_active Optional Blank value allowed |
Use this Number Pool for Dynamic Number Insertion. Only one Number Pool can be active per Offer and Traffic Source.
|
|
per_visitor Optional Blank value allowed |
Assign each website visitor their own number from the pool, so calls can be attributed to that visitor.
|
|
token_hold_time Optional Blank value allowed |
How many seconds a number stays assigned to a caller’s token before it can be reassigned.
|
|
number_stockpile Optional Blank value allowed |
How many numbers to keep in reserve, ready and unassigned, within this pool.
|
|
auto_rent_numbers Optional Blank value allowed |
Automatically purchase numbers up to the Number Limit as they are needed.
|
|
area_code_id Optional Blank value allowed |
The preferred area code to purchase numbers from when Auto Rent Numbers is enabled.
|
|
hide_embedded_access Optional Blank value allowed |
Prevent this Number Pool from being used for embedded Dynamic Number Insertion access on more than one Traffic Source per Offer.
|
|
google_analytics Optional Blank value allowed |
Track calls from this Number Pool with Google Analytics.
|
|
google_analytics_account Optional Blank value allowed |
Your Google Analytics account id used when Google Analytics is enabled.
|
|
maximum_ping_time Optional Blank value allowed |
The maximum number of seconds a browser will wait for a number to be returned before giving up.
|
|
extensions_length Optional Blank value allowed |
The number of digits used for extensions when Extensions are enabled on this Number Pool.
|
|
extensions_minimum Optional Blank value allowed |
The lowest extension number that can be assigned.
|
|
extensions_maximum Optional Blank value allowed |
The highest extension number that can be assigned.
|
|
fill_pool Optional Blank value allowed |
Immediately purchase numbers until this pool reaches its Number Limit.
|
|
traffic_source_override_lead_traffic_source Optional Blank value allowed |
Force calls placed to this Number Pool’s numbers to credit this pool’s Traffic Source, even when the lead’s Traffic Source is different.
|
|
dial_with_area_codes Optional Blank value allowed |
When placing outbound calls, prefer a number from the pool matching the consumer’s area code. If none is available, an area code match from area_code_maps or any toll free number in the pool is used instead.
|
|
dial_with_any_state_area_code Optional Blank value allowed |
When Dial With Area Codes is enabled and no matching area code is available, allow dialing with any area code in the consumer’s state.
|
|
attribution_token_value_ids Optional Blank value allowed |
The ids of the Token Values whose tokens will be additionally applied to calls handled by this Number Pool.
|
|
record_token_additional_list Optional Blank value allowed |
Assign additional tokens that will be applied to calls handled by this Number Pool by passing a comma separated string of key:value pairs.
|
|
cid Optional Blank value allowed |
Alternative to offer_id. Matches an Offer by your own external Offer identifier instead.
|
|
afid Optional Blank value allowed |
Alternative to traffic_source_id. Matches a Traffic Source by your own external Traffic Source identifier instead.
|
|
number_type Optional Blank value allowed |
The type of Number Pool, such as RingPool for phone tracking numbers or SmsNumberGroup for SMS sending numbers.
|
DELETE /ring_pools/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/ring_pools/:id
Destroy Phone Number Pool by id.
Permanently deletes a phone number pool. Requires the setup_system permission.