Back to the help center

Integrations

Create and use API keys

Generate, rotate, and protect your API keys

Last updated November 15, 2026

Available on the Business plan and above. See pricing for what each plan includes.

Generate API keys to integrate GetCookies with your systems. API keys are available on the Business plan and above.

Create a key

  1. Go to API Keys in the dashboard (your email address must be verified).
  2. Click Create API Key, give it a clear name (e.g., “backend-sync”) and, if you want, an expiry date.
  3. Copy the key once—store it securely; you won’t see it again. GetCookies stores only a hash of it.

Use the key

  • Send it as a header (example):

Authorization: Bearer YOUR_API_KEY

  • Keep keys server-side; don’t embed them in client code.

A key only works for the scopes it was issued with (for example consent:read for the Consent Verification API), and stops working at its expiry date.

Rotate or revoke

  • To rotate, create a new key, update your services, then revoke the old one. Over the API, POST /api/v1/api-keys/{id}/rotate issues a new secret for the same key and retires the old one.
  • Revoke keys immediately if someone leaves your team or a key is exposed.

Best practices

  • One key per system/service for easy rotation.
  • Set an expiry date on keys for temporary integrations.
  • Limit who has dashboard access to create/delete keys.

Still stuck?

Email [email protected] with your domain and what you tried. Signed-in customers can also open a ticket from the dashboard.