---
title: "Get current user"
method: GET
path: "/api/v1/users/current"
tags: ["Users"]
---

# Get current user

`GET /api/v1/users/current`

Returns information about the currently authenticated user

## Response `200`

Current user information retrieved successfully

- RestUser
  - `userId` string
  - `givenName` string
  - `email` string
  - `surname` string
  - `roleId` string
  - `loginAs` boolean
  - `admin` boolean

## Other responses

- `400` — Bad request - could not provide current user
- `401` — Unauthorized - authentication required

---

[API](https://skmtc.dev/jostens/apis/dotcms-rest-api.md) · [All operations](https://skmtc.dev/jostens/apis/dotcms-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jostens/dotcms-rest-api/revisions/a088fe9f515c/schema)
