- Manages transaction hooks with a scoped API key
- Uses a scoped API key to create, list, or revoke keys for another
owner - Grants scopes that the calling key does not already have
Breaking changes summary
The master key still has full access to manage hooks and API keys for any owner.
Hook management requires the master key
From 0.14.3, only the master key can create, update, view, list, or delete hooks. Scoped API keys return403 Forbidden for hook endpoints, even if they include hooks scopes.
What to do:
- Use the master key for all hook management requests.
- Keep scoped keys for ledger operations that do not manage hooks.
- See Transaction hooks.
Owner-scoped API key management
When you manage API keys with a scoped key:- Blnk uses the caller’s stored
owner_id. A differentownerin the request body is ignored. - The key can only create, list, and revoke keys for that same owner.
- The key can only grant scopes it already has.
- Create one admin scoped key per owner if teams need delegated key management.
- Use the master key when you must manage keys across owners.
- See API key owner context.
Migration checklist
- Switch hook create, update, get, list, and delete calls to the master key
- Confirm scoped key admin flows only target the caller’s own
owner_id - Confirm create-key requests do not grant scopes the caller lacks
- Re-test hook registration and API key create/list/revoke after upgrade