Authorization HTTP header. The exact format and key type vary by API.
API Keys
Generate an API key in the Doofinder Admin Panel under Account → API Keys. One key covers all APIs — Search, Management, and Stats.Key format
The same key works across all APIs. You may see it written with a zone prefix (e.g.eu1-ab46030x...) — this prefix is optional and ignored by the API. Both formats are valid:
Token Authentication
Pass the API key in theAuthorization header as a Token:
JWT Authentication
The Management API and Stats API also support JSON Web Tokens (JWT) as an alternative to static API keys. JWTs are useful when you need short-lived credentials or want to avoid embedding long-lived secrets in client code.Required JWT claims
Signing
Sign the JWT with your API management key using theHS256 algorithm.
Usage
Send the JWT in theAuthorization header as a Bearer token:
Recommendations API
The Recommendations API does not use theAuthorization header. The widget ID (a UUID) serves as the credential and is passed directly in the URL path:
CORS is enforced on the Recommendations API. The
Origin and Referer headers must match a domain configured in your store settings, or requests will be rejected with 403 Forbidden Origin.