GET
/
phone-numbers
/
search
cURL
curl --request GET \
  --url https://api.bolna.ai/phone-numbers/search \
  --header 'Authorization: Bearer <token>'
[
  {
    "region": "San Francisco",
    "friendly_name": null,
    "locality": null,
    "phone_number": "+19876543210",
    "postal_code": null,
    "price": 5
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

country
enum<string>
required

The country code for the phone number.

Available options:
US,
IN
pattern
string
required

3-character prefix for the phone number to search with

Response

list phone numbers response

region
string

Name of the geographic region associated with the phone number.

Example:

"San Francisco"

friendly_name
string | null

A user-assigned friendly label for the number; may be null if not set.

Example:

null

locality
string | null

Name of the locality or area; may be null if not available.

Example:

null

phone_number
string

E.164 formatted phone number, including country code.

Example:

"+19876543210"

postal_code
string | null

Postal or ZIP code associated with the phone number; may be null.

Example:

null

price
number

Price of the number in USD.

Example:

5