Use access tokens

Access tokens let command-line tools and integrations authenticate as your account without your password or a browser session. They have the same permissions as your account and expire after one year.

If access tokens are available on your server, the Security tab appears in your profile settings.

1. Generate a token

  1. Open your profile settings from the menu in the top-right corner.

  2. Select the Security tab.

  3. Click Generate new token, enter a name, and click Generate.

  4. Copy the token and store it securely before closing the dialog. You cannot view it again.

Send the token in the Authorization: Bearer <token> header when using these tools.

2. View your tokens

The Security tab lists your tokens with their creation and expiration dates.

3. Revoke a token

If your account has permission to revoke access tokens, you can revoke any token that is still active.

  1. In the Security tab, open the actions menu (the three-dot button) for the token.

  2. Select Revoke and confirm.

The token can no longer be used to authenticate. Revoked tokens remain in the list and show their revocation date; they cannot be restored. Create a new token if you still need access for an integration.