Photon CLI
Manage Photon accounts, projects, and platform resources from your terminal.
Photon CLI is the command-line client for Photon. Use it to sign in, switch between projects, buy and configure phone numbers and email domains, manage API keys and webhooks, and script all of it from CI.
It installs with npm, pnpm, Yarn, or Bun, runs on Node.js 22 or newer, and also ships as a standalone binary for macOS, Linux, and Windows.
npm install --global @photon-ai/cli
photon login
photon project listStart here
Install the CLI with a package manager or as a standalone binary.
Sign in with a device code and manage your stored session.
Give automation that acts as your account a non-interactive credential.
Select an active project and work with its resources.
Work with your resources
Buy phone numbers, verify email domains, and route voice calls.
Issue and revoke project API keys.
Subscribe endpoints to project events.
Invite teammates, manage roles, and select an organization.