Use bot API tokens when you do not need a running agent session. A bot token is a controlled credential for scripts and integrations that should act under a shared workspace identity.

Open Workspace Settings -> Bots and select a bot.
In Use API tokens, select Create token.
Choose scopes and an expiry date, then copy the token immediately. Leadtime only shows the full token once.
API calls are attributed to the bot, not to the person who created the token.
The bot role controls what the token can read or change.
You can revoke a token any time from the same bot settings page.