Zum Hauptinhalt springen

Check status of the current session

GET/v2/users/self/sessions/current/status/
v2
GET
user-get-current-session-status

Request

Keine Request-Parameter.

Responses

application/json

Status of the current session.

  • isEmployeeboolean
    required

    Whether the executing user is an employee.

  • isImpersonatedboolean
    required

    Whether the current session is an impersonation.

  • userIdstring (uuid)
    required

    ID of the executing user.

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/users/self/sessions/current/status