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
string
required
Your project’s Fetch token, embedded in the subdomain.
Headers
string
Optional. When set, the response is the variations available within this token’s scope.
string
Optional. When set without
fs-context, the response is the variations for the scope tied to this domain.string
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.
string
required
The region key.
string
required
The region’s ISO 4217 currency code.
array
required
Supported locales for the region, each with:
key— locale code (e.g.de-DE)url— domain mapping URL for this region+locale combination