Heatmap GraphQL API Documentation Directory
POST /graphql/v1

Authentication and Endpoint

Endpoint

All operations are served from a single endpoint:

Example request:


POST /graphql/v1

Content-Type: application/json

X-Access-Key: your-api-key


{

  "query": "query Sites { sites { id name domain timezone status } }"

}

API Key Authentication

Provide an API key on every request:

Header usage is recommended for logs, proxies, and client consistency.

Create an API Token

  1. Go to portal.heatmap.com.
  2. Click **Settings** (bottom left).
  3. Select **Access Keys**.
  4. Create an access key.
  5. Copy the key immediately. It is shown only once, and we do not store the raw key.

Testing

  1. Open https://insights-api.heatmapcore.com/graphql/v1 in your browser.
  2. Add your token to the X-Access-Key request header.
  3. Press Shift+Ctrl+R to refresh and load the schema.
  4. Have fun testing.

Bypass Mode (Non-Production)

When API_KEY_BYPASS_ENABLED=true, authentication is bypassed and viewer scope is synthetic full access.

Use this mode only for local development and controlled debugging.