Platform docs
API reference

Platform API.

The administrative surface that powers the console — workspaces, members, roles, service activation, workspace API keys, audit, introspection. Generated from the live OpenAPI spec.

Browser sessions authenticate via the auth_token cookie set by /v1/auth/signin. CI/CD and other programmatic callers authenticate via a workspace API key (pcft_live_*) minted on the console's API keys page — pass it as Authorization: Bearer <token>. The policies bound to the key determine which actions are allowed, and a key can never carry more than the minter's own permissions. Signed-in users are checked against their workspace role's policy instead. Minting and revoking keys requires a signed-in session — a key cannot mint other keys.

Base URL

https://api.platform-auth.productcraft.co

Auth

Authorization: Bearer …

Spec version

OpenAPI 3.0.0 · v1.0.0

Account

Close the signed-in ProductCraft account.


Oauth-Authorization-Server

The OAuth 2.1 authorization server third-party clients (MCP assistants) connect through, and the apps connected to your account or workspace. The protocol endpoints (registration, token, revocation, introspection, consent, delegated decisions) are for OAuth clients and the MCP server, not the SDKs.


Verification

Verify the account email address with the emailed code, or send a new code.


Workspace-Stats

Workspace dashboard totals and a daily series of admin changes.