Add a passkey
/v1/auth/passkeysSend the browser's response to the registration options. Verifies this session with a second factor; the account's first second factor also returns recovery codes.
Request body application/json · required
ceremony_tokenstringrequiredcredentialobjectrequiredThe PublicKeyCredential from navigator.credentials.create(), as JSON (PublicKeyCredential.toJSON())
namestringA label to recognise it by; default Passkey
max length 100Responses
passkeyobjectrequiredbacked_upbooleanrequiredSynced to the user's other devices by their passkey provider
created_atstring (date-time)requiredidstringrequiredlast_used_atstring (date-time)namestringrequiredrecovery_codesarray of stringWhen this passkey is the account's first second factor: 10 single-use codes, shown once
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