Docs / Cli

smallforce calls phone-numbers

Search, purchase and manage inbound phone numbers

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.8. Run smallforce calls phone-numbers --help locally to view the same reference for your installed version.

Subcommands

Complete command help

Usage: smallforce calls phone-numbers [options] [command]

Search, purchase and manage inbound phone numbers

Options:
  --api-key <key>                          SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>                      SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                                   Print stable machine-readable JSON
  --text                                   Print human-readable text
  --format <format>                        Output format: text or json
  -h, --help                               display help for command

Commands:
  search [options]                         Search available phone numbers
  list [options]                           List purchased phone numbers and their billing status
  buy [options]                            Purchase a phone number; the service checks and charges
                                           credits
  get [options] <phoneNumberId>            Get a purchased phone number
  attach [options] <phoneNumberId>         Attach a purchased number to a voice assistant
  detach [options] <phoneNumberId>         Detach a number from its assistant; keep the purchased
                                           number
  sync-webhooks [options] <phoneNumberId>  Sync the service's current voice webhooks to the provider
  delete [options] <phoneNumberId>         Release the number with the provider and mark it deleted
  help [command]                           display help for command