Acreum Docs
Organization & Users

API keys

Issue scoped keys for programmatic access, bind them to a legal entity, set an expiry, and rotate or revoke them.

An API key gives a program access to Acreum's public API with an explicit list of scopes, optionally bound to one legal entity and an expiry date. Organization → API Keys ("Manage programmatic access to this organization.") lists, issues, rotates and revokes them. For the API side, see API keys for developers.

Example

Maple Holdings' lender wants a monthly rent roll pulled by its own reporting tool. An admin issues a key named "Lender reporting" with Read on Reports, Contracts and Properties, binds it to Maple Plaza LLC, sets an expiry at year end and copies the secret into the lender's tool. The key can read Maple Plaza LLC only; a request for Maple Holdco LLC is refused. In January the admin rotates the key and sends the new secret.

The list

Columns: Name, Prefix, Scopes, Legal entity (the bound entity's id, or All for an unbound key), Tier, Last used, Requests (24h), Status (Active, Expired, Revoked). The empty state reads "No API keys yet".

How to issue a key

  1. Click New API key.
  2. Enter a Name.
  3. In the scope table, grouped by resource with Read, Write and Advanced columns (capability scopes such as approve sit under Advanced), tick the scopes the key needs. At least one is required. Granting a write without the reads its endpoints need shows "This key can act but can't list what to act on — it needs read access it doesn't have: …" with an Add the missing reads button.
  4. Optionally choose a Legal entity (optional) to bind the key to.
  5. Optionally set an Expiry date (optional); the default is Never expires.
  6. Click Issue key.
  7. On the API key created screen, click the copy button next to the secret, store it, tick "I've stored this secret safely. I understand it will not be shown again and cannot be recovered.", and click Continue to API keys. Leaving the page before that prompts "Are you sure you want to leave?".

The secret is shown once. Acreum stores only a hash and the first characters as the prefix. If the secret is lost, rotate the key.

How to rotate or revoke

  • Rotate opens "Rotate API key?" and, on Rotate key, revokes the key and issues a new one named after the old one with " (rotated)" appended, with the same scopes, entity binding, tier and expiry, showing the new secret once.
  • Revoke opens "Revoke API key?" and, on Revoke key, disables the key. Revoking is permanent; issue a new key if access is needed again.

Rules

RuleDetail
ScopesA key can hold only scopes you yourself hold, from the grantable catalog. The dialog never offers the API Keys capability, so a key cannot mint keys.
Legal entity bindingA bound key is refused for any other entity.
ExpiryOptional; an expired key shows Expired and stops working.
Secret formatA token starting with live_. The first 12 characters are the stored prefix shown in the list. There is no test-mode key.
UsageLast used and Requests (24h) (today plus yesterday) come from the key's usage record, which also tracks 30-day requests.
TierA rate-limit tier is recorded per key; it is not selectable in the dialog.
RenameThere is no rename dialog; issue or rotate instead.
Managed entitiesA key always follows the organization default for including managed entities.

Managing keys needs the API Keys capability, held by owners and admins or granted to a custom security group.

On this page