API authentication
Keep API keys on your server
The bank-list endpoint needs no API key. Account resolution requires your Myhappr key in the x-api-key header. Store that key in a server environment variable and have your backend make the authenticated request. Do not commit it to a repository, put it in a URL, or bundle it into public browser JavaScript. The playground below is for a deliberate test with your own key; it is not an example of how to distribute credentials to visitors.
Replace a key safely
Copy a newly generated key when it is displayed, then update the environment where your integration runs. Revoking or regenerating credentials requires checking that your application uses the current key. If a request returns Unauthorized, first check that the header is present and that the key has not been revoked. Never paste your secret key into a public issue, support screenshot or analytics event. API-key authentication for banking requests is separate from OAuth access tokens used by connected applications.

