v1 · OpenAPI 3.1Dashboard

Die API-Referenz ist auf Englisch.

End-user API (SDK)

Start TOTP setup

POST/v1/client/mfa/totp/setup

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

Not active until /mfa/totp/enable. Calling it again replaces the pending secret.

Authentifizierung
User session token

Antworten

  • 200OKTotpSetup

    Secret and otpauth URL to show as a QR code

    • secretstring

      Base32 TOTP secret, to show as a manual-entry fallback.

    • otpauth_urlstring

      otpauth:// URL to render as a QR code.

  • 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

  • 409ConflictError

    mfa_already_enabled.

    • 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