Frontend API
cURL
curl --request POST \ --url https://api.wacht.dev/me/passkeys/register/finish \ --header 'Content-Type: application/json' \ --cookie session_id= \ --data ' { "credential": {}, "name": "<string>" } '
{ "id": "<string>", "name": "My iPhone", "device_type": "single_device", "created_at": "2023-11-07T05:31:56Z", "last_used_at": "2023-11-07T05:31:56Z" }
Complete WebAuthn/passkey registration
Passkey registered
"My iPhone"
"single_device"
Was this page helpful?