Returns US or Canadian numbers the carrier has for sale, local or toll-free, narrowed by area code or by digits the number must contain. When an area code has no numbers, nearby ones are returned flagged bestEffort; an empty list means nothing matched. Buy one with POST /v1/phone-number, or let Roark pick with autoPick.
roark phone-number available list [options]
Calls GET /v1/phone-number/available
Options
string
ISO 3166-1 alpha-2 country of the number: US or CA. One of US, CA
string
LOCAL for a number in an area code, TOLL_FREE for one from the shared US and Canada toll-free pool. One of LOCAL, TOLL_FREE
string
Three-digit area code, or a toll-free prefix such as 800. When it has no numbers, nearby ones are returned instead, flagged bestEffort.
string
Digits or letters the number must contain (1 to 7, * matches any digit).
integer
Maximum number of results (default: 20, max: 100).