Skip to content

Authentication

You can get your API key from the Rösti website:

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' header

if the api key is missing, and with

x-api-key-warning: API key is invalid or not recognised

if the key is invalid.