API reference/Auth
Sign in with a passkey
POST
/v1/auth/passkeys/login
Send the passkey's response. Starts a session verified with a second factor, like POST /v1/auth/login/mfa.
Body
application/json
ceremony_tokenstringrequired
From POST /v1/auth/passkeys/login/options
maxLength: 256
credentialobjectrequired
The PublicKeyCredential from navigator.credentials.get(), as JSON
transportstring
cookie (browsers): an HttpOnly session cookie; bearer (native apps): the token in the response
one of: cookie, bearerdefault: "cookie"
Responses
errors: application/problem+json
Match errors on the problem's code, which stays the same, not on its message.