Get your API key
To access the Catalog API, you need an API key. Get your API key from the Catalog Dashboard.API keys are tied to your account and should be kept secure. Never expose your API key in client-side code or public repositories.
Using your API key
Include your API key in thex-api-key header with every request:
Authentication errors
If authentication fails, the API returns a401 Unauthorized response. There are two possible error messages:
Missing API key
If no API key is provided, you’ll receive:Invalid API key
If an invalid API key is provided, you’ll receive:- Missing
x-api-keyheader orAuthorization: Bearerheader - Invalid or expired API key
- Typo in the API key value