Skip to main content

Authentication

All API requests require authentication via an API key.

API Keys

API keys are passed in the X-API-Key header:

Key Format

GeniusForms API keys follow this format:

Creating API Keys

  1. Go to your dashboard
  2. Navigate to Settings → API Keys
  3. Click Create API Key
  4. Optionally name your key and set a rate limit
  5. Copy the key immediately - it’s only shown once!
Security Best Practices
  • Never expose API keys in client-side code
  • Store keys in environment variables
  • Rotate keys if you suspect they’ve been compromised
  • Use form-scoped keys when possible for least-privilege access

Rate Limits

Each API key has a daily request limit that resets at midnight UTC. The limit depends on your plan: You can customize limits when creating a key (100, 500, 1,000, 5,000, or 10,000).

Rate Limit Headers

Every response includes rate limit information:

Handling Rate Limits

When you exceed your limit, you’ll receive a 429 response:

Credit Headers

Every response also includes AI credit information:
See Pricing & Credits for details on the credit system.

Form-Scoped Keys

For enhanced security, you can create keys scoped to a specific form:
  • Can only access that form’s data
  • Cannot create new forms
  • Cannot access other forms’ responses
This is ideal for integrations that only need access to a single form.

Error Responses

Example error response: