POST
/
phone_numbers
/
search
curl --request POST \
  --url https://api.vogent.ai/api/phone_numbers/search \
  --header 'Content-Type: application/json' \
  --data '{
  "prefix": "<string>",
  "country": "US",
  "limit": 5
}'
[
  {
    "number": "<string>"
  }
]

Body

application/json
prefix
string
required

The phone number prefix, without the country code.

country
string
default:US

The 2-letter country code.

limit
integer
default:5

The maximum number of candidates to return, maximum 10.

Response

200
application/json
Successful operation
number
string
required

The phone number that's available for purchase