Legacy API · Authentifizierung
Refresh Token
https://api.casafari.com/refresh-tokenLegacy API (api.casafari.com). A route of the existing API for Casafari clients with a contract, not of the platform. On the platform: no sign-in call: a platform API key from the console signs every call.
Für die Legacy API unter https://api.casafari.com (Vertragskunden): Senden Sie Authorization: Bearer $CASAFARI_TOKEN; siehe wie Sie ein Token erhalten. Für neue Nutzer: die REST API der Plattform, Plattform-API-Schlüssel.
Beispielanfrage
Nur Platzhalter: Ersetzen Sie das Token und die Werte durch Ihre eigenen.
curl "https://api.casafari.com/refresh-token" \
-H "Authorization: Bearer $CASAFARI_TOKEN"Antworten
200 Erfolgreiche Antwort
Typ: object.
Antwortstruktur anzeigen (1 Feld)
access_tokenZeichenfolgeerforderlichExample (token values are placeholders)
{
"access_token": "<access token (JWT)>"
}