Account & Billing

API keys

Create read-only API keys to query your Otus data programmatically.

API keys let you query your analytics data from scripts, dashboards and other tools. They are read-only and scoped to the sites their owner can access.

Create a key

  1. Open Account → API keys.
  2. Choose Create key and give it a recognisable name.
  3. Copy the key and store it somewhere safe.

Keys look like sk_live_….

The full key is shown only once, at creation. If you lose it, delete the key and create a new one.

What a key can access

  • Read-only. Keys can query analytics but can't change any settings or data.
  • Scoped to your sites. A key can only read sites its owner is a member of.

The following are explicitly not accessible via API keys: billing, authentication/2FA, member management, API-key management and any site or custom-event mutations.

Using a key

Pass the key as a bearer token on requests to the Stats API:

curl https://app.otusanalytics.com/api/v1/sites \
  -H "Authorization: Bearer sk_live_xxx"

See the API reference for available endpoints.

Managing keys

Each key shows a short prefix and when it was last used, so you can spot and rotate stale keys. Delete a key to revoke its access immediately.