Skip to main content
GET
/
api
/
v1
/
account
/
{auth_id}
/
inventory
/
numbers
List Inventory Numbers
curl --request GET \
  --url https://api.vobiz.ai/api/v1/account/{auth_id}/inventory/numbers \
  --header 'X-Auth-ID: <api-key>' \
  --header 'X-Auth-Token: <api-key>'
{
  "items": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "e164": "+14155551234",
      "country": "US",
      "region": "CA",
      "status": "active",
      "setup_fee": 0,
      "monthly_fee": 1,
      "currency": "INR",
      "created_at": "2025-01-15T10:00:00Z",
      "updated_at": "2025-01-15T10:00:00Z"
    }
  ],
  "page": 1,
  "per_page": 25,
  "total": 500
}

Documentation Index

Fetch the complete documentation index at: https://docs.vobiz.ai/llms.txt

Use this file to discover all available pages before exploring further.

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

GET /v1/account/{auth_id}/inventory/numbers
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

FieldTypeRequiredDescription
countrystringNoFilter by country code (e.g., “US”, “IN”). Optional.
pageintegerNoPage number for pagination. Default: 1.
per_pageintegerNoItems per page. Default: 25. Maximum: 100.

Response

Returns a paginated list of phone numbers available in inventory.
Response - 200 OK
{
  "items": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "e164": "+14155551234",
      "country": "US",
      "region": "CA",
      "status": "active",
      "setup_fee": 0.0,
      "monthly_fee": 1.0,
      "currency": "INR",
      "created_at": "2025-01-15T10:00:00Z",
      "updated_at": "2025-01-15T10:00:00Z"
    }
  ],
  "page": 1,
  "per_page": 25,
  "total": 500
}

Examples

cURL - List All Inventory Numbers

cURL Request
curl -X GET "https://api.vobiz.ai/api/v1/account/{auth_id}/inventory/numbers?page=1&per_page=25" \
  -H "X-Auth-ID: {auth_id}" \
  -H "X-Auth-Token: {auth_token}"

cURL - Filter by Country

cURL Request
curl -X GET "https://api.vobiz.ai/api/v1/account/{auth_id}/inventory/numbers?country=US&page=1&per_page=25" \
  -H "X-Auth-ID: {auth_id}" \
  -H "X-Auth-Token: {auth_token}"
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...").

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