Attributes
| Field | Type | Description |
|---|---|---|
id | string | Internal numeric account identifier (e.g., "500000"). The credential you authenticate with is auth_id (e.g., "MA_XXXXXX"), not id. |
api_id | string | Internal API reference identifier (UUID). |
name | string | Name of the account or company. |
email | string | Email address associated with the account. |
phone | string | Primary phone number for the account. |
type | string | Object type discriminator. Always "account". |
auth_id | string | Authentication ID used for API requests. |
auth_secret | string | Secret key for authentication (only shown in secure contexts). |
auth_token_expire_time | string | ISO 8601 timestamp when the current auth token expires. |
description | string | null | Optional description or notes for the account. |
company | string | Full legal name of the company. |
address | city | state | zip_code | string | Physical location details for the account. |
country | string | null | Country code or name for the account location. |
timezone | string | Local timezone of the account (e.g., "America/Los_Angeles"). |
account_type | string | Plan/category label for the account (e.g., "standard"). |
postpaid | boolean | true for postpaid billing, false for prepaid. This is the authoritative billing-model flag. |
auto_recharge | boolean | Whether auto-recharge is enabled for prepaid accounts. |
auto_recharge_config | object | null | Auto-recharge configuration (trigger threshold, top-up amount). null when unset. |
enabled | boolean | Whether the account is generally enabled for service. |
is_active | boolean | Whether the account is currently active. |
is_verified | boolean | Whether the account identity has been verified. |
is_trial_account | boolean | Indicates if the account is a trial account. |
role | string | Role of the user associated with the account (e.g., "ADMIN", "USER"). |
carrier_type | string | null | Type of carrier service. May be null. |
customer_type | string | null | Type of customer. May be null. |
credit_limit | number | Maximum credit allowed for postpaid accounts. 0 for prepaid accounts with no credit line. |
cps_limit | integer | Effective calls-per-second limit (base_cps_limit + purchased_cps). |
concurrent_calls_limit | integer | Effective concurrent calls limit (base_concurrent_calls_limit + purchased_concurrent_calls). |
base_cps_limit | integer | Base calls per second limit before any purchased add-ons. |
base_concurrent_calls_limit | integer | Base concurrent calls limit before any purchased add-ons. |
purchased_cps | integer | Additional CPS purchased by the account. |
purchased_concurrent_calls | integer | Additional concurrent calls purchased by the account. |
risk_rating | integer | Numeric risk assessment score for the account. |
risk_status | string | null | Current risk status. May be null. |
ip_auth_enabled | boolean | Whether IP authentication is enabled for API access. |
ip_whitelist_rules | object | Map of IP whitelist rules allowed for API access. Empty ({}) when unset. |
allow_aws_ips | boolean | Whether to allow AWS IP ranges for API access. |
features | object | Map of enabled features. Includes call_queue (boolean). |
pricing_tier_id | string | Unique identifier of the pricing tier assigned to this account. |
pricing_tier | object | Complete pricing tier object with billing rates and descriptions. |
created_at | string | ISO 8601 timestamp when the account was created. |
updated_at | string | ISO 8601 timestamp when the account was last updated. |
last_login | string | ISO 8601 timestamp of the most recent login. |
Example Account Object
Pricing Tier ObjectEach account includes a nested
pricing_tier object that defines billing rates:- name - Name of the pricing tier (e.g.,
"baseTier") - description - A brief description of the pricing plan
- rate_per_minute - Cost per minute of call time in the specified currency
- billing_increment_seconds - Granularity of billing (e.g., 60 = billed by full minutes)
- minimum_duration_seconds - Minimum billable duration for calls
- currency - Currency code (USD, INR, EUR, etc.)
Prepaid vs postpaidUse the
postpaid boolean as the source of truth for the billing model. When postpaid is false, the account is prepaid and auto_recharge / auto_recharge_config control automatic top-ups; credit_limit is typically 0. When postpaid is true, calls draw against the credit_limit (see Balance, where is_postpaid and credit_limit_type are also returned).CPS and concurrency limitsThe effective ceilings are derived:
cps_limit = base_cps_limit + purchased_cps and concurrent_calls_limit = base_concurrent_calls_limit + purchased_concurrent_calls. To buy more capacity, increase the purchased_* values. Live usage against these limits is reported by the Concurrency endpoint.