Skip to content

Permissions

The scopes an API key can carry, and how a key tied to one workspace behaves.

Each key carries a set of scopes, and each endpoint requires one. A request with a valid key but the wrong scope returns 403 and names the scope it wanted.

Scopes#

ScopeGrants
workspaces:readList and read workspaces
workspaces:writeCreate, update and delete workspaces
apps:readList apps and read their details
apps:writeUpdate, move and delete apps
schema:readRead the schema and collections
schema:writeWrite to the draft schema
versions:readList versions
versions:writeCreate, publish and restore versions
domains:readList domains and their status
domains:writeAttach, verify and remove domains
data:readRead records through the app-level API
data:writeWrite records through the app-level API
flows:runTrigger flows
webhooks:readList webhooks and deliveries
webhooks:writeManage webhooks
usage:readRead usage, credits and key details

Every endpoint in this reference shows the scope it needs next to its address.

Keys tied to one workspace#

A key can be tied to a single workspace. When it is, it only ever sees that workspace. Passing a different workspace parameter doesn't widen it.

A workspace-limited key also can't create new workspaces, and it can only move an app between workspaces it can reach.

Check what a key can do#

GET /me returns the scopes attached to the key you're holding.