Sending the key
Send it as thex-api-key header:
x-api-key wins.
Creating a key
1
Open Integrations
In DMLY, go to Configurations → Integrations and select the REST API tile.
2
Create a key
Give it a name describing what will use it: “Zapier”, “Website form”, “n8n”. The name
is how you will recognise it later when revoking. Then choose its REST API access:
Full access, Only the areas I choose (each area set to read, or read and change),
or no REST access. The dialog also asks for its AI assistant access.
3
Copy it now
The key is shown once. DMLY stores only a SHA-256 hash of it, so it cannot be
retrieved or emailed to you afterwards.
Rotating and revoking
Create the replacement key first, deploy it, then revoke the old one. Revocation takes effect immediately and any caller still using the old key starts getting401.
DMLY stamps last_used_at on every authenticated request, so you can tell whether a key is
still in use before retiring it.
When authentication fails
The
403s are authorisation, not authentication: the key is real, but either the workspace behind
it cannot use the API or the key lacks a permission. A workspace that is merely past due keeps full
API access, because a grace period still counts as paying. Once a subscription or trial has actually
ended, every request fails with 403 This workspace has no active subscription., reads included,
until it is paid again.
See Errors for the full list.
