The Hotjar API allows you to make Hotjar data available to external tools and streamline related processes. This can save you time, improve your insights by merging Hotjar data with information from other sources, and automate procedures like data deletion. This article steps through how to set up the Hotjar API.
After setting up the Hotjar API, see our Hotjar API Reference for guidance on how to use it. For a broader understanding on the Hotjar API and possible use cases, see our article on What is the Hotjar API?
How to generate an API key
Visit your Settings page, then click API to view your API page.
Select the organization in your Hotjar account for the API key.
Enter a Key name for the API key.
Select the Scope for the API key.
This allows you to limit the API feature scope. For more details on what you can do with the Hotjar API, see our What is the Hotjar API article and our Hotjar API Reference.
Click Generate key.
Previously generated keys will be shown on the API page. After generating your API key, see our Hotjar API Reference for guidance on using the Hotjar API.
How to delete an API key
Visit your API page.
Identify the relevant API key for deletion.
Click the Delete key button.
This will remove the generated API key.