Skip to Content

List assignable workspace permissions

You're viewing API version 2026-09, which is deprecated and stops working on October 1, 2027. To move your integration, see Upgrading to 2026-10.
GET
/api/v1/workspace-permissions

Returns every permission key that can be granted to a workspace role, with a human-readable label. Use these keys when creating or updating roles.

Permission required: MANAGE_WORKSPACE_ROLES on the workspace.

Authorization

headerAuthorizationBearer <token>

Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.

Header Parameters

authorization*string

Bearer token for API authentication

Response Body

Assignable workspace permissions

application/json
  1. response

Assignable workspace permissions

permissions*array<>
Example Request
curl -X GET 'https://app.sajn.se/api/v1/workspace-permissions' \  -H 'authorization: string'
Example Response
{  "permissions": [    {      "key": "READ_DOCUMENT",      "label": "string"    }  ]}

Was this page helpful?