API overview
The Prompting Company API lets you manage your content programmatically through the same/api/v1 endpoints the dashboard uses, with the same ApiResult envelope and organization-scoped data model.
Use the API when you need to sync site pages from a CMS, automate content operations, or build server-to-server workflows around your TPC workspace.
Base URL
/api/v1.
Authentication at a glance
For integrations, create an organization API key from your dashboard settings and grant only the scopes your workflow needs.
Scope catalog
This table is intentionally copied from
apps/client/src/lib/api/scopes.ts.
When that catalog changes, update this page in the same PR so the docs and
dashboard stay aligned.Where to go next
Quickstart
Create a scoped key, make your first request, and parse the response envelope.
Authentication
Choose between session cookies, OAuth bearer tokens, and API keys.
Reference
Explore endpoint schemas generated from the checked-in OpenAPI document.