API Tokens

Mint a personal access token for the REST API, the MCP server or a pipeline, scope it to a team and optionally one project, tick its abilities, and revoke it.

By the end of this page you will know what a personal access token is, how to mint one that can do exactly what it needs and nothing more, where its plaintext is shown, and how to revoke it the moment it should stop working.

A personal access token is a credential that acts as you from outside the browser: a pipeline reporting a deployment, an AI coding agent reading a story's context over MCP, a script calling the REST API. Each token carries its own set of abilities and is scoped to one of your teams and, when you choose, to one project within it. It is a bearer secret: whoever holds the plaintext holds your access, within those limits.

Before you begin

You needWhy
A teamA token acts within one team you own or belong to. You pick it when minting.
A project, if you are a guestA guest's token must be confined to one of the projects they were invited to.
Somewhere safe to keep a secretThe plaintext is shown once. A password manager or your pipeline's secret store is where it should go.

Where tokens live

Open Account Settings → API Tokens. The page lists your tokens, newest first:

ColumnWhat it shows
NameThe label you gave it, so you can tell the deploy pipeline from the agent.
AbilitiesHow many abilities it carries, the team and project scopes included.
Last usedWhen it last authenticated a request, or never.
CreatedHow long ago it was minted.
Row menuRevoke.

Tokens are personal: the page shows yours, and nobody else's appear on it.

Create a token

  1. Press Create Token.
  2. Type a Token name that says what will hold it, such as Deploy pipeline or Claude Code on the laptop.
  3. Pick the Team the token acts within. With one team the choice is made for you.
  4. Pick a Project to confine the token to one project, or leave Whole team to let it reach every project your role can see in that team. A guest has no whole-team option: the project is required.
  5. Tick the Abilities. The list is grouped by area, with a Toggle on each group and one for everything; the two project-reading abilities start ticked so a token is never minted inert. Tick only what the holder needs.
  6. Press Create token.

A flyout shows the plaintext once, with a copy button. Store it before you press Done; afterwards only a hash is kept and nothing can show the value again. If you lose it, revoke the token and mint another.

A token can do everything its abilities allow, as you, within its team and project. Treat the plaintext like a password: never paste it into a chat, a ticket or a repository, and revoke it the moment a device or a colleague that held it is gone.

What a token can and cannot do

  • Abilities follow the same entity:action grammar as role permissions. A token with work-item:view can read work items and nothing else about them.
  • Your own permissions still apply. A token never does more than you could do yourself in that team; an ability you tick but do not hold answers with a refusal, not a backdoor.
  • The team scope confines the token to one team. The project scope, when set, confines it further to one project; a guest's token always carries one.
  • Minting more tokens is not something a token can delegate: a token minted through the API cannot carry token:create, and can hand out only abilities it holds itself, so a leaked credential cannot grow.

Revoke a token

  1. Open the row menu and choose Revoke.
  2. Confirm. The row disappears and every client using that token starts failing on its next request.

Revocation cannot be undone and the secret cannot be recovered; mint a new token for a client that should keep working.

All the fields

What happens next

ActionEvent announcedPayload
Create a tokentoken.createdThe abilities, the name, the token id, who owns it, and no expiry (tokens do not expire yet).
Revoke a tokentoken.revokedThe name, the token id and who owned it.

Permissions

ActionWho may do it
See and revoke tokensYou, for your own tokens
Mint a tokenAnyone signed in, within their own teams
Confine to a projectAnyone who can see the project; a guest must

Frequently asked

  • Webhooks: the other machine surface, pushing events to you.
  • Roles: the permissions a token's abilities mirror.
  • Browser sessions: the browser side of the same question.

How is this guide?

Last updated on

On this page

What changed recentlyEvery release of Zuse Bifrost, with the pages it touched.

For AI agents: llms.txt · llms-full.txt