Permissions
How to send an API key, what a key reaches, and the permission each action needs.
Reference
At a glance
- Send the key in every request as
Authorization: Bearer EXAMPLE_API_KEY. - Each action needs one permission. A key without it gets
403 missing_permission, and the message names the permission to add. - A key reaches every active team in the workspace. It acts as a member and can never act as an Owner or Admin.
Send the key
A request with no key answers 401 missing_key. A revoked, expired or unknown key answers 401 invalid_key.
What a key reaches
- A key works in every active team of its workspace, as a team member who can write. It never sees another workspace.
- Its changes carry the key's name and the reason "Sent by API key".
- Something the key cannot reach answers
404, the same as something that does not exist.
Permissions
Give a key only the permissions its program uses. You choose them when you create the key.
Registers
list_registers and list_columns work with any one of the three row permissions.
Documents and folders
documents:delete keeps its name, but it only archives. A key cannot delete a document: deleting needs a team Owner, and a key is never one.
For the same reason, a key with registers:rows:delete or folders:delete is refused when it deletes a row or a folder.
Readiness
Never open to a key
These are refused whatever the key's permissions:
- Publish a document, or approve or send one back.
- Add or change columns, tables or registers.
- Raise a new finding, or remove a finding or control.
- Remove a project, task or milestone.