Skip to main content
GET
List Inventory Numbers
This endpoint lists phone numbers in inventory (auth_id is null) that are available for purchase. Use the Purchase from Inventory endpoint to assign them to your account.
Only numbers with status='active' and auth_id=NULL are returned. These numbers are ready to be purchased and assigned to your account.

HTTP Request

Authentication required:
  • X-Auth-ID - Your Auth ID (e.g., {auth_id})
  • X-Auth-Token - Your account Auth Token
  • Content-Type: application/json

Query Parameters

How exclude behaves:
  • The prefix is matched against the number’s full E.164 form (+<countrycode><rest>), so exclude=9180 removes every number starting with +9180. It works for any country - it is not limited to Indian numbers.
  • Include the country code. exclude=9180 (not exclude=80). A bare series like 80 matches +80*, which does not exist for Indian inventory, so it has no effect.
  • It is ANDed with every other filter, so it takes priority over search. A number that matches search but also matches an excluded prefix is still excluded (?search=80&exclude=9180 returns no +9180* numbers).
  • Duplicate values are de-duplicated silently.
  • The total in the response reflects the filtered result set.
There is no separate /numbers/search endpoint. To find numbers available to rent, use this endpoint with the country and search filters.

Response

Returns a paginated list of phone numbers available in inventory.
Response - 200 OK

Examples

cURL - List All Inventory Numbers

cURL Request

cURL - Filter by Country

cURL Request

cURL - Search by prefix within a country

cURL Request

cURL - Exclude one or more series

Remove numbers whose prefix you don’t want. Include the country code (9180, not 80); a leading + is optional.
cURL Request
Each item carries a capabilities object (voice, sms, mms, fax). Vobiz numbers are voice-first, so sms, mms, and fax are commonly false. Inspect setup_fee and monthly_fee (in the listed currency) before purchasing - these are the amounts that will be debited.
Use Cases:
  • Browse available numbers before purchasing
  • Check inventory for specific countries or regions
  • View pricing information for available numbers
  • Find numbers with specific capabilities (voice, SMS, MMS)
Next Step: Once you find a number you want, use the Purchase from Inventory endpoint to assign it to your account.

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID

X-Auth-Token
string
header
required

Your Vobiz account Auth Token

Path Parameters

auth_id
string
required

Your account Auth ID

Example:

"MA_XXXXXX"

Query Parameters

country
string

Filter by country code (e.g., "US", "IN").

Example:

"IN"

Substring match against the E.164 number (e.g., "80" matches "+918065...").

exclude
string

One or more E.164 prefixes to remove from results. Include the country code (e.g. "9180" for India +91 80-series, "1415" for US +1 415); a leading "+" is optional. Matched against the full E.164 form, so it works for any country. Accepts a comma-separated list ("9180,9192") or repeated params ("exclude=9180&exclude=9192"), and the two forms can be combined. It is ANDed with all other filters, so it takes priority over search; duplicates are de-duplicated silently and total reflects the filtered result set.

Example:

"9180,9192"

page
integer
default:1
per_page
integer
default:25
Required range: x <= 100

Response

200 - application/json

Inventory numbers

items
object[]
required
page
integer
required
per_page
integer
required
total
integer
required