POST
/
token
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"
}

Body

application/json
value
string

Response

200
application/json
Successful token exchange
user_id
string

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