Connect a Frontend

An API key is the password your website (or app) uses to fetch content from DM Editors. Generate one, lock it down, hand it to your developer.

One key per environment

Best practice: separate keys for separate places. That way if one leaks, you can revoke it without breaking the others.

Create a new key

  1. Open API Keys Click API Keys in the sidebar, then New key.
    API Keys list with name, masked key, scopes, usage count, last used, and status
    The API Keys list.
  2. Name the key Use a clear name ("Website Production", "Newsletter Sync"). Future-you needs to know what it does.
  3. Pick scopes Tick what this key is allowed to do:
    • Read — fetch content. Almost always yes.
    • Write — create or update entries. Only for trusted automation.
    • Delete — remove entries or media. Only for cleanup scripts.
    New API Key form with key name, rate limit, expiry, and a per-model scopes table
    Creating a new API key with per-model scopes.
  4. Add allowed origins One per line. Example:
    https://yourcompany.com
    https://www.yourcompany.com
    https://*.yourcompany.com
    Use * only if absolutely necessary. For server-side and mobile clients, leave the list empty.
  5. Set a rate limit Requests per minute. Default 60 is fine for most websites. Bump it for high-traffic frontends or static builds.
  6. (Optional) Pick an expiry date Useful for short-term integrations or seasonal campaigns. The key stops working at that time.
  7. Click Create
    API Keys list — after creation, the masked key (with a Copy button) appears in this row; the secret is shown once
    The created key appears here with its masked value and copy button.
  8. Copy the secret immediately It is shown only once. Paste it into your password manager or directly into the developer's deployment secrets.
The secret is only shown onceIf you lose it, you can't retrieve it — you'll need to delete the key and create a fresh one.

Share with your developer

Hand them three things, securely:

  1. The API URL (e.g. https://cms.yourcompany.com/api/v1).
  2. The API key (the public part).
  3. The API secret (the one-time string).

Use 1Password, Bitwarden, or another secret manager. Never email these together.

Monitor usage

Open any key from the list to see its activity:

API Keys list row showing usage count, last-used time, and IP for each key
The list row already shows usage, last used, and IP — click a key for full detail.

Rotate or revoke

When in doubt, revokeIf you suspect a leak, revoke first and rotate. A few minutes of frontend downtime beats unauthorized writes.

Next steps

Want to notify Slack, Zapier, or a custom service when content changes? Set up a webhook.