Skip to main content

Get session information

GET /v1/auth/info

Retrieves details about the current authenticated user's session and account context. Returns user identity, roles, permissions, tenant information, and account settings. Useful for understanding the current authorization context and available permissions.

Response Example

Lists show only one example item.

{
"uuid": "user-xxxxxxxx",
"username": "user@example.com",
"firstname": "John",
"lastname": "Doe",
"role": "owner.admin",
"tenant": "tenant-xxxxxxxx",
"date": "2025-09-02T15:00:07.797Z",
"account": {
"name": "Acme",
"settings": {
"country": { "code": "NO", "country": "Norway" },
"currency": { "code": "NOK", "title": "Norwegian kroner" }
},
"number": "*********",
"type": "customer"
},
"parent": {
"tenant": "tenant-xxxxxxxx",
"name": "Acme"
},
"msp": true,
"exp": 1756828807797,
"titles": {
"userRole": "Administrator",
"accountRole": "Owner"
},
"child_tenants": [
"child-tenant-xxxxxxxx"
],
"features": [
{ "namespace": "Account/Payments" }
],
"sessionId": "sess-xxxxxxxx",
"type": "api",
"iat": 1756825207,
"jwt": "eyJ..."
}