Access requests
Requests for access to a workspace.
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 access requests
/v1/access-requestsaccess-requests.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.Lists the workspace's access requests, newest first. A member with the members permission sees every request. Every other member sees only their own.
Filter by status: pending, granted, declined or canceled. limit is from 1 to 100, and the default is 50.
Errors:
400 validation_failed:status,limitorcursoris invalid.
Open to any workspace member.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
status | query | string | optional | Only the requests with this status: pending, granted, declined or canceled. Omit it for every status. |
limit | query | integer (int32) | optional | Number of requests per page, from 1 to 100, default 50. Send the same limit on every page. |
cursor | query | string | optional | The nextCursor from the previous page. Omit it for the first page. |
curl -X GET "https://api.ken.so/v1/access-requests?limit=50" \
-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 AccessRequest. 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.
Create an access request
/v1/access-requestsaccess-requests.create- Permission
- Any workspace member except a Network member
- Rate limit
- 30 requests a minute per API key
permissions feature on your workspace. Until it is on, calls answer 404.Asks for a page, a feature or a higher monthly credit limit for the caller. Kenso notifies every member who has the members permission, and one of them grants or declines the request.
Set kind to page, feature or credits:
page:keyis a page name such ascampaigns, andlevelisvieworedit. Withoutlevel, the request asks for one level above what the caller has now.feature:keyis a feature name such aslaunch. Do not sendlevel.credits:keyismonthly_limit. Do not sendlevel. The member who grants it sets the new limit.
reason is an optional note of up to 2,000 characters for the people who decide.
The caller can have one pending request for the same kind and key. Asking again returns that request with 200 instead of 201 and sends no new notification.
Errors:
400 validation_failed:kind,key,levelorreasonis invalid. The detail codealready_grantedmeans the caller already has this access, or has no monthly credit limit to raise.
Open to any workspace member.
Request body
application/json, optional.
| Field | Type | Required | Description |
|---|---|---|---|
kind | string | required | Required. What to ask for: page, feature or credits. |
key | string | required | Required. A page name such as campaigns, a feature name such as launch, or monthly_limit for a credits request. |
level | string | optional | Page requests only: view or edit. Omitted asks for one level above the caller's current access. |
reason | string | optional | An optional note for the people who decide, up to 2,000 characters. |
curl -X POST "https://api.ken.so/v1/access-requests" \
-H "Authorization: Bearer $KENSO_API_KEY" \
-H "Ken-Version: 2026-11-02" \
-H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID" \
-H "Content-Type: application/json" \
-d '{
"kind": "page",
"key": "campaigns",
"level": "view",
"reason": "string"
}'Response 201
Also answers 200. data is a AccessRequest.
Show the 11 response fields and an example
The fields and an example are also on this endpoint's Markdown page.
Cancel an access request
/v1/access-requests/{accessRequestId}/cancelaccess-requests.cancel- Permission
- Any workspace member except a Network member
- Rate limit
- 4,800 requests a minute per API key
permissions feature on your workspace. Until it is on, calls answer 404.Withdraws a pending request the caller made. Only the member who asked can cancel it.
Errors:
403 forbidden: another member made the request.404 not_found: the workspace has no request with this id.409 invalid_state: the request is no longer pending.
Open to any workspace member.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
accessRequestId | path | integer (int64) | required | The id of the access request. |
curl -X POST "https://api.ken.so/v1/access-requests/812/cancel" \
-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 AccessRequest.
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 accountWorkspacesSandboxesMembersPermission templatesCreditsCredit estimatesCredit ledgerCredit rate cardCredit savingsCredit savings rowsCredit spendWhite-label brandsCLI loginBug reportsAll resources