OpenAPI 3.1.02026-08-163864115.7 MB
c363cb2feb95
Users
Register
Registers a passkey for the authenticated user from the attestation a browser produced for a registration challenge. Mint that challenge first with POST /users/me/passkeys/challenge; it is single-use and expires 5 minutes after it is issued. Requires a user session.
post/users/me/passkeys
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"attestation_object": "YXR0ZXN0YXRpb24",
"client_data_json": "Y2xpZW50LWRhdGE",
"credential_id": "bmV3LWNyZWRlbnRpYWw",
"nickname": "Work laptop"
}Response
passkey registered
Example response
{
"created_at": "2026-01-01T12:00:00.000Z",
"credential_id": "bGFwdG9wLWNyZWRlbnRpYWw",
"id": "wcred_xxxxxxxxxxxxxx",
"last_used_at": "2026-01-01T12:00:00.000Z",
"nickname": "MacBook Pro"
}