Skip to main content
POST
/
token
Exchange one time token for session
curl --request POST \
  --url https://{tenant_id}.hanko.io/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "value": "<string>"
}
'
{
  "user_id": "c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
}

Documentation Index

Fetch the complete documentation index at: https://docs.hanko.io/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
value
string<base64url>

Response

Successful token exchange

user_id
string<uuid4>

The ID of the user on whose behalf the token was exchanged.

Example:

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