Dashboard
APIList API Key Scopes API | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Mock
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

List API Key Scopes - Discover Available Key Permissions

Get the full registry of scopes you can grant when creating a restricted API key. Read this list instead of hardcoding scope identifiers in your integration—a newly added scope appears here automatically, with no client-side change needed.

GET/v2/projects/{project_id}/integrations/api-keys/scopes

Authorization

Bearer TokenRequired

Requires the settings:read permission, the same gate as listing keys. This endpoint returns no key material. A scoped (restricted) API key cannot call this route—scope discovery is for dashboard and integration-setup callers using a full-access token.

Path Parameters

project_idstringrequired

The unique identifier of the project.

Each entry's realm tells you which key store the scope belongs to—project, central, or both—and surface tells you whether it grants REST access, an MCP tool, or both. Creating or regenerating a key with a scope from the wrong realm is rejected with 422 VALIDATION_ERROR.

Last updated: