Skip to main content
POST
/
auth
/
passkey
/
login
/
begin
Begin passkey login
curl --request POST \
  --url https://api.wacht.dev/auth/passkey/login/begin \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data identifier=john@example.com
{
  "options": {}
}

Body

application/x-www-form-urlencoded
identifier
string
required

Email or username

Example:

"john@example.com"

Response

Passkey challenge generated

options
object

WebAuthn credential request options