Skip to content

API Tokens ​

Personal access tokens (the API tokens in your profile settings) authenticate API requests on your behalf. Each token carries read and write scopes, giving access to the API endpoints your account can reach, except the token endpoints themselves (see Creating a Token).

Personal token vs. project token

A personal token is tied to you and reaches the general API your account can access. A project token is tied to one project, at Read or Read & write, and reaches nothing outside it: use one for an external system, such as a feedback widget or an error reporter.

Creating a Token ​

Tokens are managed from your profile settings in the kendo app. When you create a token, the plain-text value is shown only once — copy and store it in a secure location. It cannot be retrieved later.

You can revoke or delete tokens at any time from the same settings page.

Tokens are managed only from a signed-in browser session. The token endpoints (GET, POST /api/tokens, PUT /api/tokens/{id}/revoke and DELETE /api/tokens/{id}) refuse a request that authenticates with any API token and answer 403. So a leaked token cannot mint a replacement that keeps working after you revoke it.

Resetting or changing your password revokes all of your personal tokens, including the ones your CLI and MCP clients use, so sign those clients in again afterwards. Project tokens you created keep working.

Kendo records every token you create, revoke or delete in your workspace's tamper-evident audit log, with who did it and when. Tokens revoked by a password change, by setting up two-factor authentication, or by an admin requiring it for your role are recorded the same way. A token's secret value is never stored there.

Endpoints ​

These endpoints manage your own personal tokens. They need no permission beyond being signed in, and they refuse a project token.

MethodEndpointDescription
GET/api/tokensList your active personal tokens
POST/api/tokensCreate a personal token
PUT/api/tokens/{tokenId}/revokeRevoke a token
DELETE/api/tokens/{tokenId}Delete a token

The Token Object ​

FieldTypeDescription
idstringToken ID
namestring | nullThe name you gave it
scopesstring[] | nullAlways ["read", "write"] for a personal token
revokedbooleanWhether it is revoked
created_atstring | nullISO 8601 timestamp
expires_atstring | nullISO 8601 timestamp

List Tokens ​

GET /api/tokens returns your named tokens that are not revoked. Project tokens you created are not listed here; see Project Tokens.

Create Token ​

POST /api/tokens

FieldTypeRequiredDescription
namestringYesMax 255 characters
bash
curl -X POST https://{tenant}.kendo.dev/api/tokens \
  -H "Authorization: Bearer your-token" \
  -H "Content-Type: application/json" \
  -d '{"name": "CI pipeline"}'
json
{
  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
  "token": {
    "id": "9f1c2e...",
    "name": "CI pipeline",
    "scopes": ["read", "write"],
    "revoked": false,
    "created_at": "2026-11-20T09:00:00.000000Z",
    "expires_at": "2027-11-20T09:00:00.000000Z"
  }
}

access_token is the secret. It is in this response only.

Revoke Token ​

PUT /api/tokens/{tokenId}/revoke

Revokes the token so it stops authenticating, and returns it with revoked: true.

Delete Token ​

DELETE /api/tokens/{tokenId}

Deletes the token. Returns 204 No Content.

Revoking or deleting a token that belongs to someone else returns 403 (This token does not belong to you.).

Using Your Token ​

Include the token in the Authorization header of all API requests:

bash
curl https://{tenant}.kendo.dev/api/projects \
  -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9..."

Token Scopes ​

ScopeDescription
readRead access to all resources you have permission for
writeWrite access to all resources you have permission for

Personal tokens always receive both read and write scopes. The scope middleware enforces:

  • Safe methods (GET, HEAD, OPTIONS) — require read or write
  • Unsafe methods (POST, PUT, PATCH, DELETE) — require write

Your token inherits the same role-based permissions as your account. If you can't access a project in the UI, you can't access it with a token either.

See Also ​