GET /phone_numbers/search
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/phone_numbers/search
Search available phone numbers for purchase
Returns a list of available phone numbers for sale. Can be used with POST /api/v1/phone_numbers?requested_number= to purchase a number.
Params
| Param name | Description |
|---|---|
|
country Optional |
Two-letter country code (default: US)
|
|
toll_free Optional |
Whether to search toll-free numbers
|
|
prefix Optional |
Restrict by area code (NPA). Example: 415, 209, 719
|
|
query Optional |
Full or partial phone number to match
|