Permission templates
Reusable sets of member permissions.
Headers
The endpoints on this page take these headers. Each endpoint's curl shows the ones it sends.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Ken-Version | header | string, one of: 2026-11-02, 1.1 | optional | The API version, a date in YYYY-MM-DD form. 1.1 is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and 404 where the path exists only in this version. A date that is not a version answers 400 unsupported_version; any other value that is not a version is treated as legacy. |
X-Ken-Workspace-Id | header | integer (int64) | optional | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers 400 workspace_required. A workspace you are not a member of answers 404 not_found. |
List permission templates
/v1/permission-templatespermission-templates.list- Permission
- Any workspace member except a Network member
- Rate limit
- 12,000 requests a minute per API key
permissions feature on your workspace. Until it is on, calls answer 404.Returns every template in the workspace: the four built-in templates first, Admin, Editor, Viewer and Client, then the workspace's own templates in the order they were created. The list is not paginated.
Every template in the response has an id, built-in ones included.
Open to any workspace member.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer (int32) | optional | Items per page, from 1 to 200. Omit limit and cursor to get every item in one response, as before; with only cursor, 50 per page. |
cursor | query | string | optional | The nextCursor of the previous page. Omit it for the first page. |
curl -X GET "https://api.ken.so/v1/permission-templates?limit=1" \
-H "Authorization: Bearer $KENSO_API_KEY" \
-H "Ken-Version: 2026-11-02" \
-H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"Response 200
data is a list of PermissionTemplate. Each item has these fields. The response also carries pagination.
Show the 11 response fields and an example
The fields and an example are also on this endpoint's Markdown page.
Get a permission template
/v1/permission-templates/{templateId}permission-templates.get- Permission
- Any workspace member except a Network member
- Rate limit
- 12,000 requests a minute per API key
permissions feature on your workspace. Until it is on, calls answer 404.Returns one template of the workspace.
Errors:
404 not_found: the workspace has no template with this id.
Open to any workspace member.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
templateId | path | integer (int64) | required | The id of the permission template. |
curl -X GET "https://api.ken.so/v1/permission-templates/812" \
-H "Authorization: Bearer $KENSO_API_KEY" \
-H "Ken-Version: 2026-11-02" \
-H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"Response 200
data is a PermissionTemplate.
Show the 11 response fields and an example
The fields and an example are also on this endpoint's Markdown page.
More in Workspace and account:Your accountWorkspacesSandboxesMembersAccess requestsCreditsCredit estimatesCredit ledgerCredit rate cardCredit savingsCredit savings rowsCredit spendWhite-label brandsCLI loginBug reportsAll resources