API Reference
The Vard content API is a simple REST API your SDK (and any HTTP client) can call to fetch published content.
Base URL
https://vard.app/api/contentAuthentication
All requests require an API key passed in the request header:
X-Vard-API-Key: vard_live_xxxxxxxxxxxxAlternatively, use the Authorization header with a Bearer token:
Authorization: Bearer vard_live_xxxxxxxxxxxxGet your API key from Settings → API Key in your workspace.
Schema versioning
To request content for a specific schema version (e.g. a staging environment), pass the version in a header:
X-Vard-Schema-Version: stagingOmit this header to get the default (production) version.
Errors
| Status | Meaning |
|---|---|
401 | Missing or invalid API key |
500 | Internal server error |
All errors return a JSON body:
{ "error": "Invalid API Key" }Last updated on