Browse the API reference

Passkey Registration Options

post/v1/auth/passkeys/register/options

Part of Auth.

Begin a passkey enrollment ceremony. The settings lane requires a fresh re-auth proof (password or assertion); the forced lane presents its enrollment token.

Authentication

This operation does not require an API key.

Request body

Required, application/json.

FieldTypeDescription
mfa_tokenoptionalstring

Enrollment token from a login that returned mfa_enrollment_required

passwordoptionalstring

Current password — settings-lane re-authentication

assertionoptionalobject

Fresh WebAuthn assertion from the re-auth ceremony (settings lane)

Example request

curl
curl -X POST "https://api.robosystems.ai/v1/auth/passkeys/register/options" \
  -H "Content-Type: application/json" \
  -d '{
  "mfa_token": "string",
  "password": "string",
  "assertion": {}
}'

Responses

200 Successful Response

FieldTypeDescription
optionsrequiredobject

PublicKeyCredential options (browser JSON, opaque)

StatusMeaning
400Invalid request
401Authentication required
422Validation Error
429Rate limit exceeded
500Internal server error