Attributes
| Field | Type | Description |
|---|---|---|
id | string | Numeric internal identifier for the sub-account (e.g., "500001"). This is not the auth_id — use auth_id for API calls. |
name | string | Name of the sub-account. |
description | string | null | Description of the sub-account purpose or usage. |
permissions | object | Permissions object defining what the sub-account can access. Contains boolean fields like calls and cdr. |
rate_limit | integer | API rate limit for this sub-account (requests per time period). |
kyc_mode | string | Verification mode: personal_use (inherits parent KYC) or customer_use (the sub-account must complete its own KYC). |
business_type | string | null | Legal constitution of the customer (e.g. individual, private_limited, llp). Drives which KYC documents are required. |
kyc_calls_blocked | boolean | true while a customer_use sub-account has not yet completed the KYC required to place calls. |
parent_account_id | string | Numeric ID of the parent main account (e.g., "510762"). |
parent_auth_id | string | Auth ID of the parent main account (e.g., "MA_XXXXXXXX"). |
auth_id | string | The sub-account’s own Auth ID (SA_…). Use this as the X-Auth-ID for the sub-account’s runtime calls, and as the {sub_auth_id} path segment elsewhere. |
auth_token | string | The sub-account’s Auth Token. Returned in clear text only once, at creation; masked (<redacted>) on every later read. |
email_verified | boolean | Whether the sub-account’s email has been verified. |
enabled | boolean | Whether the sub-account is enabled. A disabled sub-account stops accepting traffic but keeps its numbers. |
is_active | boolean | Whether the sub-account is currently active and can make API calls. |
created_at | string | ISO 8601 timestamp when the sub-account was created. |
updated_at | string | ISO 8601 timestamp when the sub-account was last updated. |
last_used | string | null | ISO 8601 timestamp when the sub-account was last used for API calls. Null if never used. |
Example Subaccount Object
Permissions Object: The
permissions object controls what resources the sub-account can access:- calls - Whether the sub-account can make/receive calls
- cdr - Whether the sub-account can access Call Detail Records
KYC mode:
customer_use sub-accounts must complete their own KYC before placing calls — they’re created with kyc_calls_blocked: true. See Sub-Account KYC.