Skip to main content
The Hrizn Public API uses API keys for authentication. Each key is tied to a single dealership site, ensuring strict data isolation between tenants.

Getting an API Key

1

Open the Dealership Manager

In the Hrizn Dashboard, navigate to the dealership you want to integrate with.
2

Go to the API tab

Click the API tab in the dealership settings.
3

Create a new key

Click Create API Key. Configure:
  • Name - A descriptive label (e.g. “DSRPTV Production”)
  • Scopes - Which endpoints the key can access
  • Rate Limit - Requests per minute (10-500)
  • Expiration - Optional expiry date
4

Copy the key

The raw key is displayed once. Copy and store it securely.
The raw API key is shown only once at creation time. It cannot be retrieved later — if you lose it, you’ll need to create a new key. Copy it immediately and store it in a secrets manager or environment variable.

Scope Access Model

API keys are granted specific scopes that control which endpoint groups they can access. Each scope maps to a set of related endpoints:
For a detailed breakdown of which endpoints each scope unlocks, see the Scopes Reference.

Using Your API Key

Include the key in the X-API-Key header:
curl https://api.app.hrizn.io/v1/public/site \
  -H "X-API-Key: hzk_your_key_here"

Key Format

API keys follow the format:
hzk_<64 hex characters>
Example: hzk_a1b2c3d4e5f67890a1b2c3d4e5f67890a1b2c3d4e5f67890a1b2c3d4e5f67890 The first 12 characters (hzk_a1b2c3d4) are stored as the key prefix and visible in the dashboard for identification.

Key Security

FeatureDetail
StorageKeys are SHA-256 hashed before storage. Hrizn never stores raw keys.
DisplayThe raw key is returned exactly once at creation time.
RevocationKeys can be revoked instantly from the dashboard.
ExpirationKeys can have optional expiry dates (30, 90, 180, 365 days).
IsolationEach key is bound to a single dealership site.
Rate LimitsEach key has independent per-minute and per-day rate limits.

Scope Presets

Use these presets when creating keys, or select individual scopes:
All available scopes. Use for trusted, full-featured integrations.ideaclouds:read ideaclouds:write content:read content:write compliance:write content_tools:write inventory:read inventory:write webhooks:read webhooks:write site:read

Error Responses

HTTP StatusError CodeMeaning
401unauthorizedMissing or invalid API key
401key_expiredAPI key has passed its expiration date
401key_revokedAPI key has been explicitly revoked
403forbiddenAPI key lacks the required scope for this endpoint
Last modified on March 1, 2026