API Tokens
Create, revoke and delete tokens that external systems use to call the StockWise API.
API tokens are "Long-lived bearer tokens for external API consumers (e.g. the BrainBox integration). A token is scoped to this organization and to the specific endpoints its scopes allow."
To open the screen, go to Configuration › API Tokens.

Columns
| Column | Description |
|---|---|
| Name | The token name. |
| Scopes | What the token can access, for example Inventory Read. |
| Created by | Who created the token. |
| Last used | When the token was last used. |
| Expires | The expiry, or Never. |
| Status | For example active. |
| Actions | Revoke and Delete. |
Create a token
Name the token
Enter a Name, for example "BrainBox production".
Choose the scopes
Select one or more scopes:
- Hardware Stock In
- Hardware Stock Out
- Print Spec Sheet
- Stock Out
- Inventory Read
Set an expiry (optional)
Enter a number in Expires in days (optional). "Leave blank for a token that never expires."
Create
Select Create, or Cancel to close without creating a token.
Copy the secret right away
The secret is shown once at creation — store it securely.
Revoke or delete a token
Use Revoke or Delete in the token's row.
