Search available numbers
Searches the inventory for numbers to buy in one country, with setup and monthly prices in your wallet currency. Each search returns up to 10 numbers.
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Number/Available/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.numbers.search_available_numbers(
country="US",
capabilities="SMS,MMS",
area_code="415",
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Number/Available/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Authorizations
Path Parameters
Query Parameters
Maximum number of results, from 1 to 100. Each search returns up to 10 numbers, and the response limit shows the value applied. A value outside the range returns 400 with limit must be between 1 and 100, and a non-integer returns 400 with limit must be an integer.
1 <= x <= 100Zero-based page number, returned in the response. Defaults to 0. Results come in a single page (hasMore is false), so narrow the search with areaCode or contains to see different numbers. A negative value returns 400 with page must be >= 0, and a non-integer returns 400 with page must be an integer.
x >= 0Response
Numbers you can buy.
One page of inventory search results.
Was this page helpful?
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Number/Available/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.numbers.search_available_numbers(
country="US",
capabilities="SMS,MMS",
area_code="415",
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/Number/Available/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));