The PhoneNumber Object
The PhoneNumber object represents a phone number in the Vobiz system, including details about capabilities, billing, and status.
Attributes
PhoneNumber Attributes
| Parameter | Type | Description |
|---|---|---|
idoptional | string | UUID identifier for the phone number. |
auth_idoptional | string | Auth ID (MA_xxx or SA_xxx) that owns this number. Null if number is in inventory and not assigned to any account. |
e164optional | string | Phone number in E164 format (e.g., "+14155551234"). |
countryoptional | string | Country code (e.g., "US", "IN"). |
regionoptional | string | State/region code (e.g., "CA", "MH"). Optional. |
capabilitiesoptional | object | Object containing boolean flags for each capability: voice, sms, mms, fax. |
capabilities.voiceoptional | boolean | Whether the number supports voice calling. |
capabilities.smsoptional | boolean | Whether the number supports SMS messaging. |
capabilities.mmsoptional | boolean | Whether the number supports MMS messaging. |
capabilities.faxoptional | boolean | Whether the number supports fax. |
statusoptional | string | Current status of the number. One of: "active", "pending_purchase", "pending_release", "released", "blocked". |
setup_feeoptional | number | One-time setup fee charged when purchasing the number. |
monthly_feeoptional | number | Monthly recurring fee for the number. |
currencyoptional | string | Currency code for fees (e.g., "USD", "INR"). |
trunk_group_idoptional | string | UUID of assigned trunk group. Null if not assigned to any trunk. Optional. |
purchased_atoptional | string | ISO 8601 timestamp when the number was purchased. Optional. |
released_atoptional | string | ISO 8601 timestamp when the number was released. Optional. |
created_atoptional | string | ISO 8601 timestamp when the number record was created. |
updated_atoptional | string | ISO 8601 timestamp when the number record was last updated. |
Number Status Values
| Status | Description |
|---|---|
| active | Number is active and available |
| pending_purchase | Purchase in progress |
| pending_release | Release in progress |
| released | Number has been released |
| blocked | Number 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"
}