Skip to content

Token API

All token API endpoints are handled by the Cloudflare Worker at cubecommons.org.

GET /?t=<token>

Validates the token, sets cc_access cookie, redirects to home.cubecommons.org.

GET /?t=<token> (without POST)

Shows a claim preview page with token name and scope before consuming.

GET /api/founder/tokens
POST /api/founder/mint
POST /api/founder/revoke

Founder-only endpoints for token management. Requires founder-role token + TOTP session.