Skip to content

The PhoneNumber Object

The PhoneNumber object represents a phone number in the Vobiz system, including details about capabilities, billing, and status.

Attributes

PhoneNumber Attributes

ParameterTypeDescription
idoptional
stringUUID identifier for the phone number.
auth_idoptional
stringAuth ID (MA_xxx or SA_xxx) that owns this number. Null if number is in inventory and not assigned to any account.
e164optional
stringPhone number in E164 format (e.g., "+14155551234").
countryoptional
stringCountry code (e.g., "US", "IN").
regionoptional
stringState/region code (e.g., "CA", "MH"). Optional.
capabilitiesoptional
objectObject containing boolean flags for each capability: voice, sms, mms, fax.
capabilities.voiceoptional
booleanWhether the number supports voice calling.
capabilities.smsoptional
booleanWhether the number supports SMS messaging.
capabilities.mmsoptional
booleanWhether the number supports MMS messaging.
capabilities.faxoptional
booleanWhether the number supports fax.
statusoptional
stringCurrent status of the number. One of: "active", "pending_purchase", "pending_release", "released", "blocked".
setup_feeoptional
numberOne-time setup fee charged when purchasing the number.
monthly_feeoptional
numberMonthly recurring fee for the number.
currencyoptional
stringCurrency code for fees (e.g., "USD", "INR").
trunk_group_idoptional
stringUUID of assigned trunk group. Null if not assigned to any trunk. Optional.
purchased_atoptional
stringISO 8601 timestamp when the number was purchased. Optional.
released_atoptional
stringISO 8601 timestamp when the number was released. Optional.
created_atoptional
stringISO 8601 timestamp when the number record was created.
updated_atoptional
stringISO 8601 timestamp when the number record was last updated.

Number Status Values

StatusDescription
activeNumber is active and available
pending_purchasePurchase in progress
pending_releaseRelease in progress
releasedNumber has been released
blockedNumber is blocked

Example PhoneNumber Object

JSON
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "auth_id": "{Auth_ID}",
  "e164": "+14155551234",
  "country": "US",
  "region": "CA",
  "capabilities": {
    "voice": true,
    "sms": true,
    "mms": false,
    "fax": false
  },
  "status": "active",
  "setup_fee": 1.00,
  "monthly_fee": 1.00,
  "currency": "USD",
  "trunk_group_id": "660e8400-e29b-41d4-a716-446655440001",
  "purchased_at": "2025-01-15T10:00:00Z",
  "created_at": "2025-01-15T10:00:00Z",
  "updated_at": "2025-01-15T10:00:00Z"
}