v1 · OpenAPI 3.1Dashboard

Die API-Referenz ist auf Englisch.

End-user API (SDK)

Password reset, step 2: set the new password and sign in

POST/v1/client/password_reset/confirm

Basis-URL: https://eu.auth.foxlogin.app, https://tr.auth.foxlogin.app

Ends every other session (sign-out everywhere) before signing in on this one.

Authentifizierung
Publishable key

Body application/json

  • emailstring (email)erforderlich

  • codestringerforderlich

  • passwordstringerforderlich

Antworten

  • 200OKSession | MfaRequired

    Signed in, or mfa_required

    • Session | MfaRequired

      A session, or mfa_required when the account has two-factor authentication on.

      Eines von:

      Session
      • userEndUserProfile

        The end-user object returned by the End-user API (SDK). Has no phone field; phone sign-in is not implemented.

        10 Felder
        • idstring

          Beispiel: usr_tr_8f2c91a7

        • regionstring

          More regions will be added; clients must accept unknown values.

          Werte: EU TR

        • emailstring

        • email_verifiedboolean

        • namestringnullable

        • countrystring

          ISO 3166-1 alpha-2

        • statusstring

          Only active is reachable through the SDK; other statuses cannot sign in.

          Beispiel: active

        • labelsLabels

        • created_atstring (date-time)

        • last_sign_in_atstringnullable

      • session_idstring

      • access_tokenstring

      • refresh_tokenstring

      • token_type"Bearer"

      • expires_in600

      MfaRequired
      • status"mfa_required"erforderlich

      • mfa_tokenstringerforderlich

        Opaque, 5-minute lifetime, 5 wrong codes invalidate it (invalid_mfa_token).

  • 400Bad RequestError

    invalid_code or weak_password.

    • errorobjecterforderlich

      5 Felder
      • codestringerforderlich

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

        Beispiel: region_unavailable

      • messagestringerforderlich

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Werte: EU TR

      • retryablebooleanerforderlich

      • detailsobject

  • 401UnauthorizedError

    Missing or invalid key or token. The Management API answers missing_api_key (no Bearer token) or invalid_api_key (unknown or revoked secret key or organization API key).

    • errorobjecterforderlich

      5 Felder
      • codestringerforderlich

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

        Beispiel: region_unavailable

      • messagestringerforderlich

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Werte: EU TR

      • retryablebooleanerforderlich

      • detailsobject

  • 429Too Many RequestsError

    rate_limited. Retry after Retry-After seconds.

    • errorobjecterforderlich

      5 Felder
      • codestringerforderlich

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

        Beispiel: region_unavailable

      • messagestringerforderlich

        Plain English, for developers

      • regionstringnullable

        Region that produced the error, if any

        Werte: EU TR

      • retryablebooleanerforderlich

      • detailsobject