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

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

Body

application/json
email
string
required

Response

200
application/json
Details about the created user
user_id
string

The ID of the newly created user

email_id
string

The ID of the newly created email address