Skip to main content
Buying a number spends money and needs --yes. In India a number can only be rented (and used for calls) once a compliance application is accepted; see the compliance commands below.

Phone numbers

Search available numbers, buy one (requires --yes), attach it to an application, set CNAM, or release it. Manage account phone numbers
Command:
Flags
  • --app-id <string>: auto-attach to this application after purchase
Command:
Command:
Command:
Flags
  • --alias <string>: filter by alias
  • --limit <int>: results per page (max 20) (default 20)
  • --offset <int>: pagination offset
  • --services <string>: filter by services: voice|sms|mms|voice,sms …
  • --starts-with <string>: prefix filter on E.164
  • --subaccount <string>: filter by subaccount auth_id
  • --type <string>: filter by type: local|tollfree|mobile|fixed
Command:
Command:
Flags
  • --country <string>: ISO country code, e.g. US (required)
  • --limit <int>: results per page (default 20)
  • --offset <int>: pagination offset
  • --pattern <string>: digit pattern
  • --region <string>: region filter
  • --type <string>: local|tollfree|mobile|fixed
Command:
Flags
  • --alias <string>: set alias
  • --app-id <string>: associate an application
  • --subaccount <string>: move under subaccount

Number compliance

Look up what documents a country and number type require, create and manage compliance applications (with document upload), and link numbers to them. Regulatory compliance for phone numbers (requirements, applications, linking)
Command:
Flags
  • --data <string>: application JSON; inline or @file.json (required)
  • --file <stringArray>: document upload as field=path, e.g. documents[0].file=@id.pdf (repeatable)
Examples
Command:
Command:
Flags
  • --expand <string>: comma-separated: end_user,documents,linked_numbers
Examples
Command:
Flags
  • --alias <string>: filter by alias
  • --country <string>: filter by ISO country code
  • --limit <int>: results per page (default 20)
  • --number-type <string>: filter by number type
  • --offset <int>: pagination offset
  • --status <string>: filter by status
  • --user-type <string>: filter by user type
Command:
Flags
  • --country <string>: ISO country code, e.g. US (required)
  • --number-type <string>: local|mobile|tollfree (required)
  • --user-type <string>: individual|business (required)
Examples
Command:
Flags
  • --data <string>: updated application JSON; inline or @file.json (required)
  • --file <stringArray>: document upload as field=path (repeatable; replaces all documents)
Examples

Number masking

Create, list, fetch, and delete number-masking sessions. Number-Masking sessions (privacy-preserving call/SMS bridge)
Command:
Command:
Flags
  • --call-time-limit <int>: max per-call duration in seconds
  • --first-party <string>: first party E.164 (required)
  • --mode <string>: voice|sms|both (default “both”)
  • --record: record calls in this session
  • --second-party <string>: second party E.164 (required)
  • --session-expiry <int>: session lifetime in seconds
  • --virtual-number <string>: virtual number to use (else allocates from pool)
Command:
Command:
Command:
Flags
  • --limit <int>: results per page (default 20)
  • --offset <int>: pagination offset