Accounts & security
API tokens
API tokens let scripts, CI jobs and integrations act on your workspace without a password. Each token belongs to the workspace, not to a person, so it keeps working when people come and go.
Create a token#
Owners and admins can create tokens:
- Open Settings → API tokens.
- Give the token a name that says where it’s used, such as
CI release uploads. - Pick its scopes (see below). Give it only what it needs.
- Choose Create token.
Bugzor shows the token once. Copy it into your secret store right away. We only keep a hash, so we can’t show it again. A token looks like this:
bgz_1a2b3c4d_5e6f…The part after bgz_, up to the next underscore, is the token’s prefix. The token list shows it, so you can
tell tokens apart without seeing the secret.
Scopes#
| Scope | Allows |
|---|---|
org:read | Read the workspace, its members and teams |
projects:read | List projects and read their settings |
projects:write | Create and change projects and DSN keys |
issues:read | Read issues and events |
issues:write | Resolve, ignore, reopen and assign issues |
traces:read | Read traces and spans |
logs:read | Search logs |
crons:read | Read cron monitors and their runs |
crons:write | Mute and unmute cron monitors |
events:write | Send events on behalf of the workspace |
To give an AI agent read access to errors, traces and logs, see the MCP server.
Use a token#
Send it as a bearer token:
curl -H "Authorization: Bearer $BUGZOR_TOKEN" https://www.bugzor.com/api/…See the documentation or contact support for help using API tokens.
Revoke a token#
On Settings → API tokens, choose Revoke next to the token. It stops working immediately, and the list keeps it (marked revoked) so you can see when it was last used.
Revoke a token as soon as it might have leaked: committed to a repository, pasted in a chat, or printed in a CI log. Creating and revoking tokens is recorded in the audit log.
Tips#
- One token per use. If one leaks, you revoke it without breaking anything else.
- Prefer read-only scopes for dashboards and reports.
- The list shows when each token was last used. Revoke the ones nobody uses.
Something unclear or out of date? Tell us.