List permissions
Lists every permission key you can grant to a role, with a label. Use the keys when you create or update a role.
Permission required: MANAGE_WORKSPACE_ROLES on the workspace.
AuthorizationBearer <token>API key, e.g. Authorization: Bearer sajn_svc_.... Not scope-limited: acts with its owner's workspace role.
Sajn-Version?stringAPI version for this request. Without it, the request uses the organization's default version; an organization without a default is pinned to the latest version by its first request.
"2026-09""2026-10"Sajn-Workspace?stringID of the workspace this request acts in, from GET /api/v1/workspaces. Without it, an API key acts in its default workspace. The token's user must be a member of the workspace; an OAuth token only accepts the workspace it was granted for. A workspace that doesn't exist or can't be reached returns 403 WORKSPACE_ACCESS_DENIED.
Assignable workspace permissions
application/json- response
Assignable workspace permissions
data*array<>hasMore*falseAlways false: the list returns every item in one response.
falsefalsenextCursor*nullAlways null: the list returns every item in one response.
nullcurl -X GET 'https://app.sajn.se/api/v1/permissions'{ "data": [ { "key": "READ_DOCUMENT", "label": "Startdatum" } ], "hasMore": false, "nextCursor": null}Was this page helpful?