v1 · OpenAPI 3.1Panel

API referansı İngilizcedir.

End-user API (SDK)

Refresh the session

POST/v1/client/token

Temel URL: https://eu.auth.foxlogin.app, https://tr.auth.foxlogin.app

Single-use, rotating refresh token. Presenting a refresh token that was already used revokes the whole session immediately (both holders lose it — one of them is an attacker). Rate-limited to 600 refreshes/minute per IP (shared NATs refresh a lot).

Kimlik doğrulama
Publishable key

Gövde application/json

  • refresh_tokenstringzorunlu

Yanıtlar

  • 200OKTokenPair

    A new token pair

    • session_idstring

      Örnek: ses_8f2c91a7

    • access_tokenstring

      JWT, 10-minute lifetime. Verify with GET /.well-known/jwks.json.

    • refresh_tokenstring

      Opaque. Single-use; rotates on every /token call. Presenting an already-used one revokes the whole session.

    • token_type"Bearer"

    • expires_in600

      Seconds until access_token expires.

  • 401UnauthorizedError

    invalid_refresh_token.

    • errorobjectzorunlu

      5 alan
      • codestringzorunlu

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Örnek: region_unavailable

      • messagestringzorunlu

        Plain English, for developers

      • regionstringboş olabilir

        Region that produced the error, if any

        Değerler: EU TR

      • retryablebooleanzorunlu

      • detailsobject

  • 429Too Many RequestsError

    rate_limited. Retry after Retry-After seconds.

    • errorobjectzorunlu

      5 alan
      • codestringzorunlu

        Stable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable

        Örnek: region_unavailable

      • messagestringzorunlu

        Plain English, for developers

      • regionstringboş olabilir

        Region that produced the error, if any

        Değerler: EU TR

      • retryablebooleanzorunlu

      • detailsobject