Permissions
The catalogue of permissions that permission profiles are built from. It is the same for every business and cannot be changed through the API.
Who can use it
Section titled “Who can use it”Any valid personal token can read the catalogue, whatever its person’s permission profile: a member, a manager and an administrator all see the same list. The catalogue only names permissions; what a person may actually do is decided by their permission profile and any per-person changes (see Permission profiles and Team members).
The permission object
Section titled “The permission object”One thing a person may be allowed to do.
| Field | Type | Description |
|---|---|---|
id |
string | The permission’s id. Use it in permissionIds when you create or update a permission profile, and in enabledPermissionIds when you set a team member’s permissions. Read only. |
key |
string | A stable machine name that never changes, e.g. view-team-rates. The permission rules on these pages name permissions by their key. Read only. |
name |
string | The permission’s label as shown in the app. Read only. |
module |
string | The area of the app the permission belongs to, one of DASHBOARD, PROJECT, CRM, CLIENT, AGREEMENT, DOCUMENT, INVOICE, EXPENSE, TEAM, REPORTS, SETTINGS or SUPPORT. Read only. |
description |
string | What the permission allows, in a sentence; null when the permission has no description. Read only. Can be null. |
createdAt |
datetime | When the permission was added. Read only. |
updatedAt |
datetime | When the permission last changed. Read only. |
Endpoints
Section titled “Endpoints”List permissions
Section titled “List permissions”Returns every permission, grouped by module in the order the app shows them. Permissions that are no longer in use are not listed.
GET /v1/permissionsParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
page |
query | integer | No | Page number, from 1. Default 1. |
limit |
query | integer | No | Records per page. Default 20, at most 1000. |
module |
query | string | No | Only permissions in this module; one of the module values, e.g. TEAM. |
search |
query | string | No | Only permissions whose key or name contains this text. |
updatedSince |
query | datetime | No | Only permissions changed at or after this moment. Records deleted since then are not reported. |
Rules
- Any valid personal token may call it. A missing or invalid token answers 403.
Example request
curl "https://api.onesuite.io/v1/permissions?module=TEAM&limit=2" \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/permissions?module=TEAM&limit=2", { headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "data": [ { "id": "cmf0a1b2c0010c0r8pe1d2e3f", "key": "view-team-member", "name": "View team member", "module": "TEAM", "description": "See the people on the team.", "createdAt": "2024-01-15T00:00:00.000Z", "updatedAt": "2026-05-02T09:00:00.000Z" }, { "id": "cmf0a1b2c0011c0r8pe4g5h6i", "key": "view-team-rates", "name": "View team rates", "module": "TEAM", "description": "See billable rates.", "createdAt": "2026-02-20T00:00:00.000Z", "updatedAt": "2026-02-20T00:00:00.000Z" } ], "totalCount": 41, "page": 1, "limit": 2}