Platform APIs
Platform APIs
The internal routes that back the dashboard, portal, billing, and MCP flows.
These routes are not a public developer API. They power the Corvex dashboard, portal settings, billing flows, and assistant integrations.
Main route groups
-
GET /api/client-portal/config -
GET /api/tenants/domains -
POST /api/tenants/domains -
DELETE /api/tenants/domains -
POST /api/tenants/domains/verify -
GET /api/tenants/subdomain -
POST /api/tenants/subdomain/check -
POST /api/stripe/connect/init -
POST /api/billing/create-checkout-session -
GET /api/mcp/keys -
GET /api/mcp/oauth-clients -
GET /api/mcp/settings -
GET /api/mcp/server -
POST /api/invoices/[invoiceId]/create-checkout -
POST /api/invoices/[invoiceId]/create-payment-intent
What each route should say
- which settings page calls it,
- what company or workspace identifier it expects,
- what state it mutates,
- whether it is safe to retry,
- and which downstream system owns the source of truth.