Heatmap GraphQL API Documentation
Welcome to the Heatmap consumer GraphQL API docs.
Use this documentation portal to discover endpoint behavior, authentication, query inputs, and practical examples for dashboard and reporting clients.
Start Here
- Authentication and Endpoint
- Schema and Inputs
- Metrics Glossary
- Query Recipes
- Errors and Troubleshooting
- Permissions and Access Scope
- Examples and Best Practices
Create an API Token
- Go to
portal.heatmap.com. - Click **Settings** (bottom left).
- Select **Access Keys**.
- Create an access key.
- Copy the key immediately. It is shown only once, and we do not store the raw key.
Testing
- Open
https://insights-api.heatmapcore.com/graphql/v1in your browser. - Add your token to the
X-Access-Keyrequest header. - Press
Shift+Ctrl+Rto refresh and load the schema. - Have fun testing.
API Contract Snapshot
- GraphQL endpoint:
POST /graphql/v1 - Docs portal:
GET /docs/v1 - Deprecated aliases:
POST /graphqlandGET /docs - Auth transport:
X-Access-Keyheader (preferred) oraccess_keyquery param - Introspection and field availability are scoped by access rules in
viewerAccess
Typical Flow
- Run
viewerAccessto understand your site and endpoint scope. - Load
sitesto get validsiteIdvalues. - Build analytics queries with
DateRangeInputand optional filters. - Add breakdown, sort, and limit only where needed for UI performance.
Core Query Groups
- Access and metadata:
viewerAccess,sites - Aggregated analytics:
analytics,sessionAnalytics,pageviewAnalytics - Journey and events:
journeyContinuationAnalytics,rawPageviewAnalytics,rawEventAnalytics - Product analytics:
funnels,heatmap,conversions,customEvents