---
title: "user"
method: GET
path: "/v2/user"
tags: ["User Management"]
---

# user

`GET /v2/user`

Fetch a user associated with the merchant.

The user fetched is based on the `userId` provided in the `/token` call.

<details>
<summary><strong>Error Glossary</strong> (click to expand)</summary>

| Code | HTTP Status | Message |
|------|-------------|-------------|
| `AP101` | 401 | No authenticated user |

</details>

## Headers

- `Content-Type` string, required
- `authorization` string, required

## Response `200`

Success

- union
  - UserGetResponse
    - `user` object
      - `id` string — The id of the user, in uuid format
      - `firstName` string — The user's first name
      - `lastName` string — The user's last name
      - `type` string — Type of user. (consumer, business)
      - `email` string, email — The user's email
      - `phoneNumber` string — The user's phone number
      - `createdDate` string, date-time — Date user was created
      - `userStatus` string — The user's status
  - 200failure
    - `error` object
      - `code` string
      - `message` string
      - `help` string — Support contact information

## Other responses

- `401` — Unauthorized - Invalid or missing User Token

---

[API](https://skmtc.net/aero/apis/aeropay-v2-api.md) · [All operations](https://skmtc.net/aero/apis/aeropay-v2-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aero/aeropay-v2-api/revisions/4700c4ceeaad/schema)
