Skip to main content
POST
/
emails
Add a new email address to the current user.
curl --request POST \
  --url https://{tenant_id}.hanko.io/emails \
  --header 'Content-Type: application/json' \
  --cookie hanko= \
  --data '
{
  "address": "[email protected]"
}
'
{
  "code": 400,
  "message": "Bad Request"
}
Deprecated. Please use the Flow API instead. What’s the Flow API?.

Authorizations

hanko
string
cookie
required

Body

application/json
address
string<email>
required

Response

Email successfully added