Copenhagen Truck Wash API Help

Get current session

This endpoint documentation is generated directly from openapi.yaml.

Endpoint

GET /auth/session

Operation

Operation ID: getSession

Retrieve information about the current authenticated user session

Authentication

Security requirements:

Scheme

Scopes

BearerAuth

-

Responses

Status

Description

Content Types

200

Session information retrieved successfully

application/json

400

401

Schema for response 200 (application/json):

{ "allOf": [ { "$ref": "#/components/schemas/User" }, { "properties": { "two_factor_enabled": { "description": "Indicates if 2FA is enabled for this account", "type": "boolean" } }, "type": "object" } ] }
17 March 2026