From your distributor dashboard, you can generate a secret API key for the environment you’re in. To get your API secret key, go to Settings > API Key & Webhooks.


For advanced security measures, we recommend using the public key rather than the secret key in public-facing scenarios, such as developing a frontend SDK based on ours or using any of the MyCover.ai SDKs. The secret key should be used exclusively for interactions with the MyCover.ai APIs from a secure backend environment.
We ask that you keep your API Keys safe as they are unique to you. If you think that the keys might have been compromised, generate a new set of keys from your dashboard.
To authenticate requests to the MyCover.ai API, you must include an API key in the Authorization header of your request. The API key should be included in the header as a Bearer token.
Environments
When working with MyCover.ai’s tools, you'll find that you’re provided two different environments. These environments are set up to give you the flexibility you need while also keeping your work secure as you build your product. Depending on where you are in the development process, you can switch between test and live environments.
Testing
During your integration into MyCover.ai, it’s important to check that it works properly before going live. So you don’t have to mess with real data during integration, we provide you with a test environment to imitate real operations from your dashboard.