Create a token
Generate a Personal Access Token from Settings.
Tokens are created from Settings → API Tokens.
API access requires Pro or Ultra. If you see "Upgrade to use the API", switch to an eligible workspace or upgrade.
Create flow#
Open Settings
Go to Settings and choose the API Tokens tab.Click Create token
The dialog asks for a name, scopes, and expiry.Name the token
Use a purpose-based name such as "Production API client".Pick scopes
Start narrow. Scopes cannot be changed later.Choose expiry
Pick 30, 60, 90, 180, or 365 days.Copy and save
Pegasus shows the token once. Store it before closing the dialog.
Presets#
- Chat API only — good for sending messages.
- Read-only — good for reporting or monitoring.
- Bot management — broader access for trusted automation.