Authentication
You can get your API key from the Rösti website:
Rösti Website - API Key Login to Rösti and navigate to the API section to find your key.
Then send this API key in the X-Api-Key header of your requests to authenticate with the Rösti API.
Currently, the presence and value of the X-Api-Key header are not being checked or validated. However, this will change on October 1, 2026. Until then, then API will respond with
x-api-key-warning: API key missing; please set the 'X-API-Key' headerif the api key is missing, and with
x-api-key-warning: API key is invalid or not recognisedif the key is invalid.