API version v1

Public API

API key

How to obtain a key, choose access, and revoke it

An API key is your company's credential for the public API. It is not tied to a user: requests made with the key act on behalf of the company and do not depend on which employee is signed in.

Where to get one

Company → API keys. Create a key in the app; it is shown once, so save it right away. The secret cannot be viewed again — a new key has to be created instead.

Key format:

rv_live_<prefix>_<secret>

The key list stores only the displayable part (rv_live_<prefix>_…) plus metadata: name, scopes, last used, expiry.

Keep the key like a password: in server environment variables or CI secrets, never in source code or client-side JavaScript.

Access (scopes)

Each key carries a set of scopes. The API checks them on every request.

ScopeWhat it grants
equipment:read / equipment:writecatalog, stock, reservations, equipment status
projects:read / projects:writeprojects, schedule, conflicts
invoices:read / invoices:writeestimate, invoices, documents, PDF
references:readcontacts, venues, firms
*everything above

Rules:

  • write includes read for the same resource: granting write does not require a separate read.
  • Directories are read-only.
  • Missing scope returns 403 FORBIDDEN.

In the key creation dialog scopes are selected per section, with a Read only preset and a Full access (*) switch. A key cannot be created without at least one access.

Expiry and revocation

Keys are permanent by default. You can set an expiry date at creation — after it the key stops working.

Revocation is done from the key list and takes effect immediately: the API rejects the key right away, with no waiting. To confirm a key works and see its scopes, call GET /me.

Next — authentication: how to pass the key and which errors the API returns.

NextAuthentication
Was this helpful?