Skip to main content
Every request to the Varmo API must include an API key passed as a Bearer token in the Authorization header. Varmo does not support session-based authentication or OAuth — the API key is the sole authentication mechanism, and requests without a valid key are rejected immediately.

Get your API key

Contact Varmo to request API access. After Varmo provisions your account, you receive an API key scoped to your organisation. Each key grants access to the resources tied to your account only — keys cannot be used to query data belonging to other issuers. If you manage multiple environments (e.g. staging and production), request a separate key for each. Varmo support can rotate or revoke individual keys without affecting others.

Pass the key in requests

Include your API key in the Authorization header of every HTTP request:

Keep your key secure

Never expose your API key in client-side code, public repositories, or browser network requests. If a key is compromised, contact Varmo support immediately to rotate it. A rotated key is issued and the compromised key is revoked — any requests using the old key will fail with a 401 error.
Store your API key as an environment variable and read it at runtime from your server-side code:
JavaScript
Python

Authentication errors

If your request is rejected due to an authentication problem, Varmo returns one of the following HTTP error codes: See API errors for the full list of error codes and response shapes.