Account

Sub-accounts

Create customers under your account, each with its own KYC, numbers and optional login.

A sub-account is a customer under your TryVox account. It has its own KYC and numbers, spends from your wallet, and can have its own login.

Your TryVox account
  ├── Sub-account A
  └── Sub-account B

Each sub-account has a UUID, an Auth ID, and a parent tenant ID. TryVox reviews every KYC submission. By default your approval doesn't carry over to a sub-account, unless you create it with kyc_mode: personal_use.

Integration flow

  1. Create a sub-account, optionally with a password or an emailed invitation.
  2. Save the returned id against the customer in your database.
  3. Submit its KYC through the API, or let the customer submit it after logging in. See verification.
  4. Create an API key for it.
  5. After TryVox approves its KYC, use that key to buy numbers and make calls. Each charge comes from your wallet.
  6. If it needs to run more calls at once, increase its capacity. Each sub-account has its own concurrent-call and CPS limits.

The multi-customer platform guide walks through every step with working requests.

Authentication and identifiers

Authenticate using HTTP Basic authentication. Keep API credentials on your server.

ValuePurpose
Parent tenant UUIDUse as {tenant_id} in management requests
Parent account Auth IDAlso accepted as {tenant_id}; use the number owner's account Auth ID for number requests
API key Auth ID and tokenAuthenticate the request; the key's Auth ID may differ from the account owner's Auth ID
Child idUUID used as {subaccount_id} to retrieve, update or deactivate a child
Child auth_idPublic identity returned for the child; distinct from its UUID

The create response contains the child identifiers, not an API key. Create one with sub-account API keys.

Endpoints

MethodPathPurpose
POST/v1/tenants/{tenant_id}/sub-accountsCreate
GET/v1/tenants/{tenant_id}/sub-accountsList
GET/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}Retrieve
PUT/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}Update
POST/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}/suspendSuspend
POST/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}/reactivateReactivate
DELETE/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}Close
POST/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}/api-keysCreate an API key
POST/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}/passwordSet a password
POST/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}/login-inviteSend a login invitation
GET/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}/kyc/requirementsKYC requirements
POST/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}/kyc/submitSubmit KYC
GET/v1/tenants/{tenant_id}/sub-accounts/{subaccount_id}/kyc/statusKYC status
GET/v1/account/{auth_id}/billing/sub-account-usage/{subaccount_id}Usage and charges

For colleague access to shared account resources, use team members.

On this page