Skip to main content
To access the Bron API, you need an API key. Follow the steps below to create one:
1

Enable API Key Access

Go to Settings › Security › Security policies and make sure Enable API key creation under Other settings is turned on. If it is disabled, contact your workspace owner to enable it.
Workspace Security Settings
2

Start a New API Key creation

In Settings › API keys, click New API key. Enter a name, select a team role, an expiration period, account access, and (optionally) specify allowed IP addresses.
New API Key Form
3

Generate or Supply Your Key Pair

Bron uses asymmetric keys. You have two options:When you supply your own JWK, it must meet these requirements:Example JWK
You can use any library that supports ES256 and JWK. For example:Node.js example:

API key roles

The team role picked at creation decides what the key can do. Every role is scoped to the accounts selected for the key. Reads cover workspaces, accounts, balances, addresses, transactions, quotes (swap-route, intents/quote) and the address book. Signing covers signing requests and hot signer registration; a Transaction Operator key creates transactions that a person or an MPC Hot Signer key then signs. Transaction types a Transaction Operator or Full Access key can create with POST /workspaces/{workspaceId}/transactions (and POST /workspaces/{workspaceId}/intents for intents): defi and defi-message (WalletConnect), earn-*, fiat-*, loyalty-* and bron-lock-* transactions are created from the Bron app only.