End-user API (SDK)
Start TOTP setup
POST/v1/client/mfa/totp/setup
Temel URL: https://eu.auth.foxlogin.app, https://tr.auth.foxlogin.app
Not active until /mfa/totp/enable. Calling it again replaces the pending secret.
Yanıtlar
200OKTotpSetup
Secret and otpauth URL to show as a QR code
secretstringBase32 TOTP secret, to show as a manual-entry fallback.
otpauth_urlstringotpauth://URL to render as a QR code.
401UnauthorizedError
Missing or invalid key or token. The Management API answers
missing_api_key(no Bearer token) orinvalid_api_key(unknown or revoked secret key or organization API key).errorobjectzorunlu5 alan
codestringzorunluStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Örnek:
region_unavailablemessagestringzorunluPlain English, for developers
regionstringboş olabilirRegion that produced the error, if any
Değerler:
EUTRretryablebooleanzorunludetailsobject
409ConflictError
mfa_already_enabled.errorobjectzorunlu5 alan
codestringzorunluStable machine code, e.g. email_exists, country_not_allowed, user_moved, method_not_available, region_unavailable
Örnek:
region_unavailablemessagestringzorunluPlain English, for developers
regionstringboş olabilirRegion that produced the error, if any
Değerler:
EUTRretryablebooleanzorunludetailsobject