Skip to main content
The Drumtix API uses API keys for authentication. Every request must include a valid key in the Authorization header.
API keys require a Pro plan. Free plan organisations can generate keys but requests will be rejected until the plan is upgraded.

Generating an API key

  1. Go to Settings → API in your dashboard
  2. Click Generate Key
  3. Choose the scopes your integration needs (see below)
  4. Copy the key immediately — it is shown only once
Keys are prefixed with dk_live_ so they’re easy to identify if one leaks.

Making authenticated requests

Pass your key as a Bearer token in the Authorization header:

Scopes

When generating a key, select only the scopes your integration actually needs: A key can hold multiple scopes. For example, a door management app would need read + checkins:write but not write.

Error responses

Rotating a key

If a key is compromised:
  1. Go to Settings → API
  2. Click Revoke next to the key
  3. Generate a new key and update all integrations
Revoked keys are invalidated immediately.

Security

  • Store keys in environment variables, never in source code or public repositories
  • Never expose keys in client-side JavaScript
  • Use the narrowest scope that meets your integration’s needs
  • Rotate keys periodically as a best practice