Skip to main content
POST
/
users
/
@me
/
mfa
/
webauthn
/
credentials
/
registration-options
Get WebAuthn registration options
curl --request POST \
  --url https://api.fluxer.app/v1/users/@me/mfa/webauthn/credentials/registration-options \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>",
  "mfa_method": "totp",
  "mfa_code": "<string>",
  "webauthn_response": {},
  "webauthn_challenge": "<string>"
}
'
{
  "challenge": "<string>"
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Body

application/json
password
string
Required string length: 8 - 256
mfa_method
enum<string>

MFA method to use for verification

Available options:
totp,
sms,
webauthn
mfa_code
string

MFA verification code from authenticator app or SMS

webauthn_response
object

WebAuthn authentication response

webauthn_challenge
string

WebAuthn challenge string

Response

Success

challenge
string
required

The WebAuthn challenge