Authentication
Every request is authenticated with a personal API key passed as a Bearer token:hk_ and is only shown once.
The same key works for both the REST API and the MCP server. It is tied to your user account and covers every workspace and website you belong to.
Targeting a website
Most endpoints operate on a single website and take awebsite_id query parameter. To discover your websites:
- Call
GET /workspaces/with-websitesto list every workspace and the websites inside. - Pick the
idof the website you want. - Pass it as
?website_id=<id>to the data endpoints.
403 with an explanatory message.
Pagination
List endpoints acceptpage (1-based) and page_size parameters and return a consistent envelope:
Rate limits
Requests are limited per API key to:
Exceeding a limit returns
429 Too Many Requests. Note that MCP traffic using the same key counts against the same budget.
Errors
The API uses standard HTTP status codes. Error responses carry adetail field:
REST API or MCP?
Both expose the same data with the same key.- REST API: your own code, scheduled jobs, BI pipelines, integrations.
- MCP server: AI assistants like Claude exploring your data conversationally. See the MCP setup guide.