cURL
curl --request POST \ --url https://api.vogent.ai/api/phone_numbers/search \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "prefix": "<string>", "country": "US", "limit": 5 } '
[ { "number": "<string>" } ]
Search for available numbers available to purchase
In the form Bearer <api_key_here>. You can find your api key in your dashboard.
Bearer <api_key_here>
The phone number prefix, without the country code.
The 2-letter country code.
The maximum number of candidates to return, maximum 10.
Successful operation
The phone number that's available for purchase