Frontend API
cURL
curl --request POST \ --url https://api.wacht.dev/auth/identify \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data identifier=john@example.com
{ "available_methods": [ "email_otp", "magic_link" ], "user_id": "123456789012345678" }
Identify user by email or username for passwordless auth
Email or username
"john@example.com"
User identified
["email_otp", "magic_link"]
"123456789012345678"
Was this page helpful?