Skip to main content
All requests to the Aniva Partner API must include your partner API key in the x-api-key request header.
Contact Aniva to obtain your API key. Keys are issued per partner account.

Sending authenticated requests

Include the x-api-key header in every request you make to the API.

Error responses

If your request has no x-api-key header, the API responds with 401 Unauthorized.
If the API key is not valid, the API responds with 401 Unauthorized.
If the key is valid but does not have the scope for the endpoint, the API responds with 403 Forbidden.
If you receive one of these errors, verify that:
  1. Your request includes the x-api-key header.
  2. The API key value is correct and has not been rotated.
  3. Your key has the scope that the endpoint requires. Each endpoint in the API reference names its scope.
Never expose your API key in client-side code or public repositories. Treat it like a password.
Contact Aniva to rotate a compromised key or to request changes to your API key permissions.