API Reference
HTTP endpoints for workers, billing, connector callbacks, and workspace API keys.
Authentication
Browser session auth protects app routes/server actions. Workspace integrations use kmn_ API keys. Worker and some webhook endpoints use bearer secrets/tokens.
Endpoint groups
- Public API v1 (API keys or OAuth access tokens)
- MCP server (/api/mcp) for Claude, ChatGPT, Cursor and Claude Code
- OAuth authorization server (/api/oauth/*) with PKCE and dynamic registration
- Agency connect links (/connect/<token>) for client-side account connection
- Worker run API
- Midtrans Snap + notification
- Voucher validation
- Publish webhook receiver
- SSO SAML bootstrap/ACS
- Contact form POST /api/contact
Two ways to authenticate an integration
- API key (aeth_...) — long-lived, created in Settings → API Keys, sent as x-api-key or Authorization: Bearer.
- OAuth access token (koat_...) — short-lived, obtained by an AI client through the authorization-code + PKCE flow.
- Both carry the same scope vocabulary, so /api/v1 routes accept either.
Need the product UI? Open command center