Fetch API
List Contexts
GET
List the available context variations for the project’s active scope — every region, its currency, and the supported locales (each with the URL it’s reachable at). Useful for building region/language switchers and for discovering valid
region/locale values to pass to Update Context.
Path Parameters
Your project’s Fetch token, embedded in the subdomain.
Headers
Optional. When set, the response is the variations available within this token’s scope.
Optional. When set without
fs-context, the response is the variations for the scope tied to this domain.Required when the project has fetch API keys configured.
Response
Returns an array of context variations. The activecontextKey (created or reused) is also returned in the fs-context response header.
The region key.
The region’s ISO 4217 currency code.
Supported locales for the region, each with:
key— locale code (e.g.de-DE)url— domain mapping URL for this region+locale combination
Status codes
| Code | When |
|---|---|
200 | Variations returned |
401 | fs-secret missing or wrong (only when the project has fetch keys configured) |
403 | Project’s plan limit for Fetch API requests exceeded |