Skip to main content
Members and invitations belong to the organization. See Organizations.
The agent profile is the name and avatar your project presents to the people it messages.
With --json, view, edit, avatar upload and avatar reset print the agent profile as Photon returns it, with every field in it, including a field the API adds after this CLI release:

Avatar

Upload accepts a regular JPEG, PNG, or WebP file. The CLI detects the media type from the file’s signature rather than its extension, requests a presigned upload form, uploads the file without a Photon authorization header, and commits only once storage accepts it. It prints the profile Photon returns when it commits the upload. Presigned URLs and form values are never printed. An unresolved pre-commit upload keeps a private copy of the validated image so a replay can finish without you supplying the file again.