Authentication

The Mercury.ai API uses bearer tokens to authenticate requests. An API key can be created on the Integrations page of your project's configuration settings. The API key is bound to the user who created it and carries a subset of the permissions of that user.

Add an Authorization header to authenticate your request with the API key as bearer token:

Authorization: Bearer <API key>

Important: The key should be treated as a secret and should not be shared in publicly accessible areas.