Skip to main content
The 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.
Aliases: spectrum profile edit.

Users

Manage users that can interact through your project’s Spectrum instance.

List users

Aliases: spectrum users list.

Add a user

Aliases: spectrum users create.

Remove a user

Removing a user is irreversible. The CLI asks for confirmation unless you pass -y.
Aliases: spectrum users rm, spectrum users delete.

Lines

Manage the phone lines assigned to your project.

List lines

Aliases: spectrum lines list.

Add a line

Currently supports iMessage lines only.

Remove a line

Platforms

View and toggle messaging platforms for your project.

List platforms

Aliases: spectrum platforms list.

Enable a platform

Disable a platform

Avatar

Upload a custom avatar image for your project’s Spectrum profile.
The CLI requests a presigned upload URL from the API, uploads the file directly, and patches the Spectrum profile to use it. See the generated command and option reference.

Common flags

See the generated command and option reference.