Start adding a passkey
/v1/auth/passkeys/registrationReturns the options for `navigator.credentials.create()`. Send the password unless this session verified a second factor in the last 10 minutes; once the account has two-factor authentication on, the session must also have verified one.
Request body application/json · required
passwordstringRequired unless this session verified a second factor in the last 10 minutes
max length 512Responses
ceremony_tokenstringrequiredSend it back with the passkey's response. It is shown once and expires after 5 minutes.
expires_atstring (date-time)requiredoptionsanyrequiredPass to navigator.credentials.create() or navigator.credentials.get() (PublicKeyCredential.parseCreationOptionsFromJSON or parseRequestOptionsFromJSON reads them)
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type
codestringrequiredStable machine-readable error code
detailstringHuman-readable explanation
errorsarray of objectField-level validation errors
request_idstringCorrelates with server logs and traces
statusinteger (int64)requiredHTTP status code
titlestringrequiredShort summary of the problem type
typestringURI identifying the problem type