Skip to main content
POST
/
auth
/
identify
Identify user
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"
}

Body

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

Email or username

Example:

"john@example.com"

Response

User identified

available_methods
string[]
Example:
["email_otp", "magic_link"]
user_id
string<uint64>
Example:

"123456789012345678"