Skip to main content

Get started

Use the Account API when you need server-side project management. Analytics data lives in the Project API.
1
Create an API key from Account → API
2
Store the key in your server environment
3
Pass it as a Bearer token in every request
API keys are created and deleted only from the logged-in dashboard. Keep them out of client-side code and public repositories.

Authentication

Pass your API key in the Authorization header on every request:
Requests without a valid key return 401 Unauthorized. Keys can be read or read write; create and delete require write. Mobile session routes (Bearer session, not API key): GET/PATCH /api/account/profile and DELETE /api/account.

Base URL

All API endpoints are available under /v1 on the API host:
Base URL
Machine-readable OpenAPI 3.1: /openapi.json. Hosted MCP: Docs → MCP.

Periods

Endpoints that accept a period query parameter support these values:

Endpoints

List projects

Returns all projects belonging to the authenticated user, ordered by creation date.

Create project

Creates a new project. The domain is automatically normalized — protocols and paths are stripped.

Delete project

Permanently deletes a project and all its analytics data. Requires a write-scoped API key and {"confirm":true} in the JSON body. This action cannot be undone.