C

Cofounder Agent-First API

REST discovered

Details
URL
https://api.superoptimizers.cofounder.co/cofounder-cli/v1
Docs
https://docs.cofounder.co/cli
Authentication
Cofounder company API key api_key discovered
Authorization: Bearer <credential>

Sign in with the CLI, then create a durable company API key with cofounder company api-keys create --name <name>, as declared in integrations.json. The returned cfk_… secret is then sent as Authorization: Bearer <key> to the REST API or exported as COFOUNDER_API_TOKEN for CLI automation. The owner declaration also notes it can be revoked with cofounder company api-keys revoke.

Cofounder session token bearer discovered
Authorization: Bearer <credential>

First sign in with cofounder auth login, then run cofounder auth token to print a bearer token, as declared in integrations.json. Use it as Authorization: Bearer <token> for the REST API or directly against the MCP endpoint, or export it as COFOUNDER_API_TOKEN for non-interactive CLI use.