API reference / Partner auth

get/v2/auth/session

Who the session cookie belongs to

Operation
getSession
Authentication
None — public

The portal’s gate on every page.

Request

Responses

200The signed-in user and their tenant.
userobjectrequired
tenant_idstringrequired
401Not signed in, or the session expired or was revoked.
errorobjectrequired

Example

curl
curl -X GET https://api.haavisa.com/v2/auth/session

More in Partner auth

Something unclear? The eligibility guide explains the model behind the answers; the errors guide covers the envelope.