Weekly Planner
API

API routes

Vercel serverless handlers for invites, OG images, and share metadata.

API routes

Located under /api at the repo root (Vite app project), not inside docs/.

RouteMethodPurpose
/api/v1/*GET/POST/PATCH/DELETEToken-authenticated REST API for boards/events/todos
/api/tokensGET/POST/DELETECreate/rotate/revoke REST API tokens (session auth)
/api/invitePOSTInvite member by email (admin SDK)
/api/ogGETDynamic PNG Open Graph image
/api/share-metaGETCrawler HTML for /s/:token

CORS: handlers support OPTIONS where needed.

Deep dives: REST API, Invite, OG & share-meta, Middleware.

On this page