Keys
Neither key takes a rule live, gives units by hand or decides a proposal: it gets
approval_required (or forbidden), and a person decides. What waits for a person
Make and revoke them in Developers in the dashboard: API keys and Agents. A key is shown once. If you lose it, make a new one. Revoking a key stops it at once. Only an owner or admin, signed in as a person, can make or revoke a key; no key can. Any member can list them in the dashboard, which shows a key’s name, start and state but never the full key. Lurk keeps only a hash of it. Revoking a key that is already revoked changes nothing.
Send it as a bearer token:
invalid_key can mean “right key, wrong project”.
Team and invitations
An organization has members with a role each:owner, admin, developer or viewer. Owners and admins take things live and manage the team; developers change rules, units and views; a viewer can only read. See the team in Settings → Team.
- Invite. In the dashboard, with an
emailand a role (admin,developerorviewer). Only an owner or admin can. The invitation lasts 7 days. The person joins by signing in with that address and accepting; the dashboard lists the open invitations to the address you signed in with, and it is empty until that address is verified. - Limits. Invitations share the email quota with sign-in codes, so in a UTC day an organization may send 20 invitations, one person 10 (counted across all the organizations they invite for), and one address is emailed once in each organization. Invitations that were withdrawn or answered still count. Past a limit the call answers
rate_limitedand no invitation is made. An address that is already a member is refused (validation_failed, fieldemail). Inviting an address that has an open invitation from an earlier day renews it: one row, a new 7 days, the new role and inviter. - Change a role. Owners and admins only. An owner’s role does not change this way, and ownership does not move by invitation. Moving someone below admin cancels the invitations they sent. Making someone a viewer also revokes the keys they made and disables the webhook endpoints they set up, because a viewer can change nothing.
- Remove. Owners and admins only. An owner cannot be removed and you cannot remove yourself. The keys they made are revoked, their webhook endpoints disabled and their open invitations cancelled.
Copy from Staging to Production
A person in the dashboard proposes copying rules and units from one project of your organization into another. You need to be in both projects.- Nothing is copied now. It makes a proposal in the project it copies into, and an owner or admin there approves it (
proposals.decide). - Units are created if the project has none with the key. Rules arrive as drafts: a new draft version if the key is already there, and nothing if it is the same. A person takes them live like any rule.
- The units a rule changes are copied with it, if the project does not have them. A unit that is there is left as it is.
- A rule that reads an audience the project does not have is refused: make the audience there first.