Skip to main content

API Authentication

Find out how to authenticate API queries.


API keys are used to authenticate your API request. Any request to Insurerity API without an API key will result in an error, Api Key must be included in all requests.

Your API keys are unique to you, kindly keep them confidential! If by any chance your keys have been compromised or you want to intentionally reset them, you can do so by going to the settings page of your dashboard.

To include your keys in Authorization headers, use the structure below.

Authorization: Bearer <SECRET_KEY>
Api-Key: <API-KEY>

NB: “JWT” means JSON Web Token.

Making requests without authentication will fail with the code.

info

All API requests should be made via HTTP.

Requests made without authentication will be rejected by the code numbers below.

400 Bad Request

409 Unauthorized