Skip to main content
Get the app
Coming soon

Authenticate your requests.

Every request to the KOPO API is authenticated with a secret key sent as a bearer token.

Keys and environments

Your account has separate keys for the sandbox and for live use. Send your secret key in the Authorization header as "Bearer" followed by the key.

Keep your keys secret

Secret keys can move money. Store them in environment variables or a secrets manager, never in source code, mobile apps or browser code. Restrict keys by IP address where you can, and give each service its own key.

Rotating keys

You can create a new key and revoke the old one from the dashboard at any time.

401 UnauthorizedThe key is missing, malformed or revoked.
403 ForbiddenThe key is valid but not allowed to perform this action.