Skip to Content
Workspace and account

Access requests

Requests for access to a workspace.

Workspace and account3 endpointsKen-Version: 2026-11-02AuthenticationWorkspacesErrors
MarkdownOpenAPI

Headers

The endpoints on this page take these headers. Each endpoint's curl shows the ones it sends.

NameInTypeRequiredDescription
Ken-Versionheaderstring, one of: 2026-11-02, 1.1optionalThe 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-Idheaderinteger (int64)optionalThe 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

GET/v1/access-requestsaccess-requests.list
Permission
Any workspace member except a Network member
Rate limit
12,000 requests a minute per API key
Needs the permissions feature on your workspace. Until it is on, calls answer 404.

Try it on developer.ken.so

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, limit or cursor is invalid.

Open to any workspace member.

Parameters

NameInTypeRequiredDescription
statusquerystringoptionalOnly the requests with this status: pending, granted, declined or canceled. Omit it for every status.
limitqueryinteger (int32)optionalNumber of requests per page, from 1 to 100, default 50. Send the same limit on every page.
cursorquerystringoptionalThe nextCursor from the previous page. Omit it for the first page.
Request
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

POST/v1/access-requestsaccess-requests.create
Permission
Any workspace member except a Network member
Rate limit
30 requests a minute per API key
Needs the permissions feature on your workspace. Until it is on, calls answer 404.

Try it on developer.ken.so

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: key is a page name such as campaigns, and level is view or edit. Without level, the request asks for one level above what the caller has now.
  • feature: key is a feature name such as launch. Do not send level.
  • credits: key is monthly_limit. Do not send level. 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, level or reason is invalid. The detail code already_granted means the caller already has this access, or has no monthly credit limit to raise.

Open to any workspace member.

Request body

application/json, optional.

FieldTypeRequiredDescription
kindstringrequiredRequired. What to ask for: page, feature or credits.
keystringrequiredRequired. A page name such as campaigns, a feature name such as launch, or monthly_limit for a credits request.
levelstringoptionalPage requests only: view or edit. Omitted asks for one level above the caller's current access.
reasonstringoptionalAn optional note for the people who decide, up to 2,000 characters.
Request
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

POST/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
Needs the permissions feature on your workspace. Until it is on, calls answer 404.

Try it on developer.ken.so

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

NameInTypeRequiredDescription
accessRequestIdpathinteger (int64)requiredThe id of the access request.
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.


On this page