Skip to Content
API ReferenceAPI Reference

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/content

Authentication

All requests require an API key passed in the request header:

X-Vard-API-Key: vard_live_xxxxxxxxxxxx

Alternatively, use the Authorization header with a Bearer token:

Authorization: Bearer vard_live_xxxxxxxxxxxx

Get 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: staging

Omit this header to get the default (production) version.

Errors

StatusMeaning
401Missing or invalid API key
500Internal server error

All errors return a JSON body:

{ "error": "Invalid API Key" }
Last updated on
Vard SDK Documentation