cURL
curl --request POST \ --url https://{tenant_id}.hanko.io/admin/sessions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_agent": "<string>", "ip_address": "<string>" }'
{ "session_token": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your API key. Must only be used when using Hanko Cloud.
Bearer <token>
<token>
OK
The response is of type object.
object
Was this page helpful?