X-API-KEY or apikey, and the value is the secret issued by the API provider.
Bruno can place the pair in a request header or as a query parameter, depending on what the API expects.
Configure API Key auth
- Open a request and go to the Auth tab.
- Select API Key from the Auth Type dropdown.
- Enter the Key (the header or query parameter name).
- Enter the Value (your API key). For extra security, store it in a secret variable and reference it (for example,
{{apiKey}}). - Under Add To, choose Header or Query Param.
- Send the request. Bruno attaches the key-value pair in the place you selected.