TryVox

List Your Numbers

Retrieve all phone numbers owned by your account.

Retrieve a paginated list of all phone numbers owned by your account, with optional filtering by country and status.

Endpoint

GET /v1/account/{account_id}/numbers

Query Parameters

ParameterTypeRequiredDescription
countrystringNoFilter by ISO 3166-1 alpha-2 country code (e.g., "IN", "US")
statusstringNoFilter by status: "active", "pending", "suspended"
pageintegerNoPage number for pagination (default: 1)
per_pageintegerNoResults per page (default: 20, max: 100)

Request Example

List all numbers in your account:

curl --request GET \
  --url https://api.tryvox.io/v1/account/acc_123abc/numbers \
  --header 'Authorization: Bearer tvx_sk_live_...'

List only US numbers:

curl --request GET \
  --url 'https://api.tryvox.io/v1/account/acc_123abc/numbers?country=US&per_page=50' \
  --header 'Authorization: Bearer tvx_sk_live_...'

Response

{
  "data": [
    {
      "e164": "+14155551234",
      "country": "US",
      "type": "local",
      "region": "CA",
      "status": "active",
      "capabilities": ["voice", "sms", "mms"],
      "monthly_fee": 1.25,
      "setup_fee": 0.00,
      "currency": "USD",
      "trunk_id": "trunk_abc123",
      "application_id": null,
      "created_at": "2026-03-15T08:20:00Z",
      "updated_at": "2026-04-01T14:30:00Z"
    },
    {
      "e164": "+919876543210",
      "country": "IN",
      "type": "local",
      "region": "Maharashtra",
      "status": "active",
      "capabilities": ["voice", "sms"],
      "monthly_fee": 2.50,
      "setup_fee": 0.00,
      "currency": "USD",
      "trunk_id": null,
      "application_id": "app_xyz789",
      "created_at": "2026-04-09T10:30:00Z",
      "updated_at": "2026-04-09T10:30:00Z"
    }
  ],
  "pagination": {
    "total": 47,
    "count": 2,
    "per_page": 20,
    "current_page": 1,
    "total_pages": 3
  }
}

Response Fields

FieldTypeDescription
e164stringPhone number in E.164 format
countrystringISO 3166-1 alpha-2 country code
typestringNumber type: "local", "toll_free", or "mobile"
regionstringState or region where the number is located
statusstringNumber status: "active", "pending", or "suspended"
capabilitiesarraySupported capabilities: "voice", "sms", "mms"
monthly_feenumberMonthly recurring fee in USD
setup_feenumberOne-time setup fee in USD
currencystringCurrency for pricing (always "USD")
trunk_idstringnull
application_idstringnull
created_atstringISO 8601 timestamp of purchase
updated_atstringISO 8601 timestamp of last update

Number Status

StatusDescription
activeNumber is active and ready to use
pendingNumber purchase is being processed
suspendedNumber has been temporarily suspended (e.g., due to billing issues)

Pagination

The response includes pagination metadata to help you navigate through large result sets:

  • total: Total number of numbers matching the filter
  • count: Number of items in the current response
  • per_page: Number of items per page
  • current_page: Current page number
  • total_pages: Total number of pages available

To fetch the next page, increment the page parameter in your request.

Next Steps

On this page