DocsDocumentationDeveloper APIScopes and presets

Scopes and presets

What each API key scope allows, which presets to start from, and which requests need extra scopes.

⚠️ Ce contenu n'est pas encore disponible dans votre langue.

Every API key has a list of scopes. A request only succeeds when the key has every scope the operation needs. Choose scopes when you create a key in Account > API Keys, and change them later with Edit.

Keys created before 3 November 2026 have no scopes and can't call the API until you add some.

Scopes

ScopeAllowsHigher risk
catalog:readList installable apps, their versions and install fields.
apps:readList installed apps and read their details and status.
apps:installInstall new apps.
apps:updateChange installed apps' settings, including attaching and detaching domains.
apps:uninstallUninstall apps.Yes
apps:lifecycleStart, stop, restart, freeze and unfreeze apps.
apps:versionUpgrade, downgrade or switch app versions.
apps:boostChange apps' boost slots. This can use more of your plan's resources.Yes
custom_tables:readRead app-provided tables, such as mailboxes or users.
custom_tables:writeAdd and edit rows in app-provided tables.
custom_tables:deleteDelete rows from app-provided tables.Yes
custom_actions:readList the actions an app exposes to the API.
custom_actions:executeRun app actions that are exposed to the API.Yes
domains:readList domains and the domains attached to apps.
domains:writeAdd domains and attach them to apps.
domains:deleteRemove domains and detach them from apps.Yes

Higher-risk scopes can delete data, run commands inside apps or use more of your plan. Only give them to automation you trust.

No scope lets a key manage API keys, account security, users or billing.

Presets

Presets are starting points in the key form. You can add or remove scopes after choosing one.

PresetForScopes
Read onlyDashboards, audits and inventory tools.catalog:read, apps:read, domains:read
Deployment automationCI/CD that installs, updates and restarts apps, without uninstall or domain access.catalog:read, apps:read, apps:install, apps:update, apps:lifecycle, apps:version
Full app managementThe whole app lifecycle, including uninstall and boost.Deployment automation, plus apps:uninstall and apps:boost
App extension automationReading, writing and deleting custom table rows, and running custom actions.apps:read, custom_tables:read, custom_tables:write, custom_tables:delete, custom_actions:read, custom_actions:execute
Domain automationReading and adding domains, without app or delete access.domains:read, domains:write
Full platform automationEverything the API can do.Every scope

Requests that need extra scopes

Some operations need more scopes depending on what you send or what the app has:

RequestAlso needs
POST /apps with domain set to one of your own domainsdomains:read and domains:write
POST /apps with boost_slots above 0apps:boost
DELETE /apps/{id} when domains were attached after installdomains:delete

An install on a subdomain of your Appbox's own hostname, such as files.mybox.appboxes.co, needs only apps:install. Uninstalling that app needs only apps:uninstall, because the install created the domain.

Some responses also depend on scopes. Installed apps include domain and url, and Appboxes include domain, only when the key has domains:read. Custom table writes return the row's values only when the key has custom_tables:read.

Check a key's scopes

GET /key returns the calling key's scopes and needs no scope itself. When a request fails for a missing scope, the error lists what to add:

{
  "error": {
    "code": 3022,
    "status": 403,
    "message": "API key is missing required scope(s): apps:lifecycle",
    "type": "missing_scope",
    "details": {
      "required_scopes": ["apps:lifecycle"],
      "missing_scopes": ["apps:lifecycle"]
    }
  }
}