Aus der im ersten Beitrag verlinkten offiziellen API-Doku:
Zitat
Authentication and key expiry
Send the API key with every request in the X-API-Key header. Keys are bound to the vehicles you selected when creating them, and they expire.
- Every successful response carries the
X-API-Key-Expires-At header with the key's expiry time - use it to renew keys before they lapse. - A request with an expired key fails with 401 and the problem type
api-key-expired. - A request the key is not allowed to make (for example a vehicle it does not cover) fails with 403 and the problem type
api-key-not-authorized.
In both cases the fix is the same: create or update a key in the MyŠkoda app.
Wie lang ein Token gültig ist steht da nicht drinnen, aber wenn regelmäßig eine Abfrage erfolgt wird die Ablaufzeit ja neu gesetzt.
Und es dürfen max. 20 Abfragen pro Stunde je Token erfolgen.