How to generate, rotate, and manage API keys for your Hyperguard properties.
API Key Management
Each Hyperguard property has its own API key that authenticates the tracking script with our servers.
Viewing Your API Key
- Go to Properties in the sidebar
- Select your property
- Click the Installation tab
- Your API key is displayed with a copy button
Key Format
Hyperguard API keys follow this format:
hg_live_[32 random characters]
The hg_live_ prefix indicates this is a production key.
Rotating Your API Key
If you need to rotate your API key (e.g., if it was accidentally exposed):
- Go to Properties → Installation tab
- Click Rotate API Key
- Confirm the rotation
⚠️ Update Your Script
After rotating, your old key stops working immediately. Make sure to update the tracking script on your website with the new key.
Security Notes
- API keys are visible in your page source code — this is expected
- Keys are rate-limited by IP address
- Keys are validated against your property's allowed domains
- Each property has its own independent key