TheDocumentation Index
Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
Use this file to discover all available pages before exploring further.
photon spectrum commands manage your project’s messaging configuration — the Spectrum profile, users, phone lines, platform toggles, and avatar.
All Spectrum commands require an active project. Set $PHOTON_PROJECT_ID or pass --project <id>.
Spectrum profile
View or update the Spectrum profile attached to your project.spectrum profile edit.
Users
Manage users that can interact through your project’s Spectrum instance.List users
spectrum users list.
Add a user
spectrum users create.
Remove a user
spectrum users rm, spectrum users delete.
Lines
Manage the phone lines assigned to your project.List lines
spectrum lines list.
Add a line
Remove a line
Platforms
View and toggle messaging platforms for your project.List platforms
spectrum platforms list.
Enable a platform
Disable a platform
Avatar
Upload a custom avatar image for your project’s Spectrum profile.| Flag | Description |
|---|---|
--no-update-profile | Upload the file but don’t update the Spectrum profile to use it |
Common flags
| Flag | Env var | Description |
|---|---|---|
-p, --project <id> | PHOTON_PROJECT_ID | Target project |
--api-host <url> | PHOTON_API_HOST | Override the backend URL |
-t, --token <token> | PHOTON_TOKEN | Use this token instead of stored credentials |
--json | — | Output as JSON (where supported) |