Managing API Keys

Create scoped API keys, rotate or revoke them, and use test mode safely.

What this does

API keys authenticate your requests to the Relentify API. Each key has its own name, a set of permission scopes, and a Live/Test mode — so you can hand out narrowly-scoped keys for each integration instead of one all-access key.

When to use it

Create a new key whenever you connect a new integration. Use separate keys per integration so you can revoke one without breaking the others, and grant each key only the scopes it actually needs.

Step by step

Create a key

  1. Go to Settings and select the API Keys tab
  2. Click Create API Key
  3. Enter a descriptive Key Name (e.g. "Zapier Integration")
  4. Tick the Scopes the key needs — scopes are grouped by resource (Invoices, Quotes, Customers, Suppliers, Bills, Mileage, Attachments, Banking, Credit notes, Purchase orders, Projects, with :read and/or :write options for each), plus a few resources with a narrower set: Expenses and Reports offer :read only, Entities offers :read and :switch (for choosing the active organisation), and Webhooks offers a single :manage scope. You must select at least one
  5. Tick Test mode if you want this key to validate requests and return responses without writing to your live data — useful while you build an integration
  6. Click Create Key
  7. Copy the key shown in the box at the top — it starts with rly_ and is shown only once. If you lose it, rotate the key to get a new one

Rotate a key

If a key may have leaked, or you just want to refresh it without reconfiguring your integration's scopes:

  1. On the API Keys tab, find the key and click Rotate
  2. Confirm the prompt
  3. Copy the new key shown — the old key stays valid for 1 hour so you can update your integration without downtime, then it stops working

Revoke a key

  1. On the API Keys tab, find the key and click Revoke
  2. Confirm the prompt — this cannot be undone and takes effect immediately

Good to know: The keys table shows each key's prefix, Live/Test mode, number of scopes, and when it was last used — handy for spotting keys you can safely retire.