Existing keys created before scopes were introduced keep working exactly as before: they are
migrated to all permissions and MCP disabled. You can rotate them at your own pace.
Permission model
Scopes useresource:action. A key must have the exact scope a request needs.
API keys can never manage other API keys, refund money, create payouts, sweep wallets or touch
treasury operations. Those actions require a dashboard session with the relevant role.
Presets
Prefer a custom selection when a worker only needs one capability (e.g.
webhooks:replay on a
debugging job).
Caps and expiry
Each key can optionally set:- Max per payment — rejects a single payment above the amount.
- Daily cap — rejects new payments once today’s (UTC) total would exceed the cap. Cancelled and expired payments do not count.
- Expiry — the key stops authenticating after the date. Maximum two years out.
MCP access
allow_mcp is off by default. A key with MCP disabled cannot authenticate MCP requests and
receives:
Creating and rotating keys
1
Open API keys
Dashboard → API keys → Create key.
2
Name it
Use the integration name, e.g.
Production backend, Webhook debugger, Claude agent.3
Choose test or live
Live keys require completed business verification. Start in test mode.
4
Pick scopes, caps and expiry
Choose a preset or build a custom list. Set caps for anything automated.
5
Copy the secret once
The full key (
tri_test_... / tri_live_...) is shown exactly once. Tribridge stores only a
SHA-256 hash. Store it in your environment or secret manager.Error codes
Every failed request is visible in Logs → API requests with the key id, request source (
api or
mcp) and required scope.
