Authentication

// Some code

Authenticate your API calls by including your secret key in the Authorization header of every request you make. You can manage your API keys from the dashboardarrow-up-right

The secret keys are to be kept secret. If for any reason you believe your secret key has been compromised or you wish to reset them, you can do so from the dashboard.

triangle-exclamation

Authorization headers should be in the following format:

Authorization: Bearer SECRET_KEY

circle-info

Sample Authorization Header

Authorization: Bearer sk_test_fbrghfjuslfd983jf8de3

API requests made without authentication will fail with the status code 401: Unauthorized. All API requests must be made over HTTPS.

Last updated