API keys

How to create an API key for Zapier, Make, n8n or your own system, which permissions to give it, and how to revoke it once you no longer need it.

An API key lets another tool work in Retiva on your business’s behalf. That tool can be Zapier, Make, n8n or a system your developer built. Each tool gets its own key with only the permissions it needs.

Keys are managed by business owners and admins. Other team members see a note that one of them has to create the key.

A key for Zapier, Make or n8n

You create the key for these tools from the Integrations screen in the Retiva dashboard.

  1. On the Zapier, Make or n8n card, click Create an API key.
  2. The API keys screen opens with the form filled in. The name is the tool’s name, and the ticked permissions are the ones the tool uses. You can still change them.
  3. Click Create key and copy the key with the Copy button.

The full key is shown only once, right after you create it. Paste it straight into the tool that needs it. If you lose it, create a new key and revoke the old one.

A key for your own system

  1. In the Retiva dashboard, open Settings and choose API keys.
  2. In Key name, say what the key is for, for example “Restaurant till”.
  3. Under Permissions, tick only what the system needs.
  4. Click Create key and copy the key.

The key starts with rk_live_ and works for one business. A system using it only sees that business’s stores, orders and vouchers.

Permissions

Group Permission What it allows
Stores & catalogue Read stores, Read products Reading the list of stores and products, for example to pick a product in Zapier
Orders Read orders Reading orders and their lines
Vouchers & tickets Read vouchers & tickets Looking a voucher up by code and reading its redemption history
Redeem vouchers & tickets Redeeming a voucher, checking in a ticket, reversing a redemption
Issue vouchers & tickets Issuing new vouchers and tickets
Coupons Read coupon offers, Claim coupons for customers Issuing a coupon from an offer, for example for a newsletter sign-up
Customers & loyalty Read customers & marketing consents, Read loyalty members & cards Reading customer details, their consents and stamp cards
Integrations Manage webhooks Receiving event notifications, which the triggers in Zapier, Make and n8n use

A trigger in Zapier, Make or n8n needs Manage webhooks. It also needs the read permission for what the event is about. For example, the “Order Paid” trigger also needs Read orders.

The key list and revoking a key

Under Your keys you see every key. Each key shows its name, the start of the key, its permissions, when it was last used and its status. The status is Active, Revoked or Expired.

To switch a key off, click Revoke. Any integration using it stops working at once. A revoked key cannot be restored.

Replace a key when someone who knew it leaves the business. It takes three steps.

  1. Create a new key with the same permissions.
  2. Paste it into the tool in place of the old one.
  3. Check that the integration works, then revoke the old key.

Good practice

See also