tecxbro/grokbotxphoton/photon-api

Claude Code and agent skill by tecxbro/grokbotxphoton

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Build or review integrations against Photon's HTTP APIs and OpenAPI documents. Use for OAuth 2.1 user authorization, the Dashboard API, the Spectrum API, projects, users, billing, Fusor, iMessage configuration, lines, platforms, Voice, webhooks, WhatsApp Business, Slack, curl, generated clients, and non-TypeScript automation. Do not use this skill as a substitute for the runtime Spectrum SDK.

Install

npx vskill@latest install tecxbro/grokbotxphoton/photon-api

SKILL.md

The same SKILL.md was published earlier as tecxbro/grokbotxphoton/photon-api.

Photon HTTP APIs

Photon exposes separate HTTP surfaces for user-authorized Dashboard operations and project-scoped Spectrum administration. Choose the surface and credential type before constructing a request.

Choose the API

NeedUseAuthentication
Runtime agent and messaging logicSpectrum SDKSpectrum project credentials through the SDK
Interactive or scripted terminal administrationPhoton CLIStored device-session token or PHOTON_TOKEN
A third-party application acting for a Photon userPhoton OAuth + Dashboard APIOAuth 2.1 bearer token with the required scopes
Project-scoped management over HTTPSSpectrum APIHTTP Basic with project ID and project secret
Signed inbound HTTP event deliverySpectrum WebhooksPer-webhook signing secret for verification
Direct platform behavior not exposed by SpectrumLow-level platform SDKThe selected SDK's credential contract

OAuth bearer tokens for app.photon.codes and Spectrum project credentials for spectrum.photon.codes are separate and not interchangeable. The Spectrum API is a management surface, not a general public send-message endpoint.

Credential boundary

Before completing an API integration:

  • Keep project secrets, OAuth client secrets, access tokens, refresh tokens, and webhook signing secrets out of browser code, URLs, logs, shell history, and committed files.
  • Use PKCE with S256 for every OAuth authorization-code flow.
  • Request only the scopes the application needs and handle shorter access-token lifetimes for write scopes.
  • Treat the live OpenAPI document as authoritative for uncommon paths, fields, and response shapes.
  • Handle 429 responses with bounded backoff and retry only operations that are safe to repeat.
  • Confirm before purchases, subscription mutations, project deletion, line removal, or secret rotation.

A typical Spectrum API request uses project-scoped HTTP Basic authentication:

bash
curl --fail-with-body \
--user "$PHOTON_PROJECT_ID:$PHOTON_PROJECT_SECRET" \
"https://spectrum.photon.codes/projects/$PHOTON_PROJECT_ID/webhooks/"

How this skill is organized

Each topic lives in its own file in this directory. Read the file relevant to the user's question.

FileWhen to consult
`overview.md`API hosts, authentication boundaries, response envelopes, rate limits, retries, and live schema discovery.
`oauth.md`OAuth 2.1 and OpenID Connect, discovery, app registration, PKCE, scopes, refresh-token rotation, revocation, and limitations.
`dashboard-api.md`User-authorized project operations and the current Dashboard OpenAPI document.
`spectrum-api/authentication-and-errors.md`Project credentials, HTTP Basic, error envelopes, redaction, rate limits, and retry rules.
`spectrum-api/users.md`Spectrum project users and invitation or removal boundaries.
`spectrum-api/projects.md`Project-scoped Spectrum settings and destructive project operations.
`spectrum-api/billing.md`Plans, subscriptions, checkout, and paid-action confirmation.
`spectrum-api/fusor.md`Fusor resources and their current management endpoints.
`spectrum-api/imessage.md`iMessage-specific project configuration exposed by the management API.
`spectrum-api/lines.md`Line listing, allocation, removal, ownership, and plan constraints.
`spectrum-api/platforms.md`Enabling, disabling, and inspecting Spectrum platforms.
`spectrum-api/voice.md`Voice and SIP management operations.
`spectrum-api/webhooks.md`Webhook registration, listing, deletion, and one-time secret handling.
`spectrum-api/whatsapp-business.md`WhatsApp Business project credentials and configuration.
`spectrum-api/slack.md`Slack installations, tokens, and configuration returned by the API.

See also

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tecxbro/grokbotxphoton/photon-api/badge)](https://verified-skill.com/skills/tecxbro/grokbotxphoton/photon-api)

Something wrong with this skill or its page? Tell us.