Adds the passkey the browser just made.
POST
Errors
400 when the answer does not check out or its challenge is gone, 403
when a bearer token was used, 409 when that passkey is already
registered.
sessioncookie
tessera_session<token>Set by POST /auth/login. A browser sends it automatically; it is HttpOnly, so page scripts cannot read or set it.
application/json- body
Body of POST /account/passkeys.
credential*What the browser returned from navigator.credentials.create.
name?|What to call it. Passkey when omitted.
Length
length <= 64Added
application/json- response
A passkey, as its owner sees it.
backed_up*booleanWhether it syncs to the owner's other devices, as a phone's or a password manager's does; a hardware key does not.
created_at*stringWhen it was added.
id*stringStable identifier, for renaming or removing it.
last_used_at?|When it last signed in, or null if it never has.
name*stringWhat the owner calls it.
curl -X POST 'https://example.com/api/v1/account/passkeys' \ -H 'Content-Type: application/json' \ -d '{ "credential": { "id": "string", "response": { "attestationObject": "string", "clientDataJSON": "string" } }}'{ "backed_up": true, "created_at": "string", "id": "string", "last_used_at": "string", "name": "string"}