---
title: "Get the current user"
method: GET
path: "/api/me"
tags: ["Account"]
---

# Get the current user

`GET /api/me`

## Request

- Base URL: `https://api.engram.page`
- URL: `https://api.engram.page/api/me`
- Auth: HTTP bearer

Returns the authenticated user's id, email, role, display name, and UI language.

## Response `200`

Current user

- UserResponse
  - `user` User, required
    - `analytics_id` string, nullable, required: Keyed pseudonymous identifier (HMAC of the user's email) for client-side analytics identify calls; null when the user opted out. See Engram.Analytics.client_id/1.
    - `analytics_opt_out` boolean, required: The user objected to analytics; the client must send nothing.
    - `display_name` string, nullable
    - `email` string, email, required
    - `id` string, uuid, required
    - `locale` string, nullable: UI language as a BCP 47 tag, as last reported by a client.
    - `role` string

---

[API](https://skmtc.dev/engram/apis/engram-api.md) · [All operations](https://skmtc.dev/engram/apis/engram-api/llms.txt) · [OpenAPI document](https://skmtc.dev/engram/apis/engram-api/revisions/8c4c2eec29dc?raw)
