---
title: "Get current user information based on token"
method: GET
path: "/api/v{version}/users/profile"
tags: ["users"]
---

# Get current user information based on token

`GET /api/v{version}/users/profile`

## Request

- Base URL: `https://api.zrexpress.app`
- URL: `https://api.zrexpress.app/api/v{version}/users/profile`
- Auth: HTTP bearer and API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/zrexpress/apis/zrexpress-api/docs/api/v:version/users/profile/get.ts> (a function with typed inputs; its response is checked against the schema)

Get current user information based on token

## Path parameters

- `version` string, required

## Response `200`

OK

- UserDetail
  - `id` string, nullable
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `email` string, nullable
  - `phoneNumber` string, nullable
  - `memberships` TenantMembershipDto[], nullable
    - `tenantId` string, nullable
    - `tenantName` string, nullable
    - `isActive` boolean
    - `isDefault` boolean
    - `type` string, nullable
    - `membership` string, nullable
    - `roles` string[], nullable

## Changes

- **2026-11-03** `652262902df9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zrexpress/apis/zrexpress-api/changes/api/v:version/users/profile/get.md)

---

[API](https://skmtc.dev/zrexpress/apis/zrexpress-api.md) - [All operations](https://skmtc.dev/zrexpress/apis/zrexpress-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zrexpress/apis/zrexpress-api/revisions/652262902df9?raw)
