Skip to main content
All API requests require authentication. The recommended method for external integrations is an API key. Create an API key in Help GenieSettingsAPI KeysCreate Key. The full key is shown once — copy it immediately and store it securely. Keys use the hg_live_ prefix. Pass your key using either method:
Key details:
  • Don’t expire — work until revoked
  • Rate limited: 60 requests/minute per key
  • Max 5 active keys per user
  • Keys carry the same permissions as the user who created them

Method 2: Session Token (for browser/app contexts)

For browser-based applications, authenticate with Supabase Auth:
Then include the token in the Authorization header:
Session tokens expire after ~1 hour. The Supabase client handles refresh automatically.

Making authenticated requests

Authentication errors

Example error response:
See Error handling for the complete error reference.