Skip to main content
MADIAD Hub uses API keys to authenticate requests. Every call must include your key in the Authorization header as a Bearer token.
Requests without a valid key return 401 Unauthorized.

Create a key

  1. Sign in to hub.madiad.com.
  2. Open API Keys and click Create key.
  3. Name it (e.g. production, n8n, staging) and copy the value.
A key is shown only once, at creation. Copy it immediately and store it in a secret manager. If you lose it, revoke the key and create a new one.

Key format

The dashboard lists each key by its prefix and name, so you can identify a key without exposing the secret.

Use the key

Send it as a Bearer token on every request:
Store the key in an environment variable — never hard-code it in source or ship it in client-side code:

Rotate and revoke

Treat keys like passwords:
  • Rotate periodically — create a new key, update your apps, then revoke the old one.
  • Revoke immediately if a key is exposed. Revocation takes effect within seconds and cannot be undone.
  • Use a separate key per integration (one per app, server, or workflow) so revoking one never breaks the others.
Need to authorize a social account rather than an API request? That happens per profile — see Profiles.