POST
/
user
curl --request POST \
  --url https://{tenant_id}.hanko.io/user \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com"
}'
{
  "id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
  "email_id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c",
  "verified": true,
  "has_webauthn_credential": true
}

Deprecated. Please use the Flow API instead. What’s the Flow API?.

Body

application/json
email
string

Response

200
application/json
User
id
string
Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

email_id
string
Example:

"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"

verified
boolean
has_webauthn_credential
boolean