---
title: "GET /userDetails"
method: GET
path: "/userDetails"
---

# GET /userDetails

`GET /userDetails`

Returns information about a user.

## Query parameters

- `id` string
- `userName` string

## Response `200`

Success

- GetUserDetailsResponse
  - `userId` string — The system-generated unique ID of the user.
  - `userName` string — The name of the user as displayed in Amazon CodeCatalyst.
  - `displayName` string — The friendly name displayed for the user in Amazon CodeCatalyst.
  - `primaryEmail` object — The email address provided by the user when they signed up.
    - `email` string — The email address.
    - `verified` boolean — Whether the email address has been verified.
  - `version` string — <p/>

## Other responses

- `480` — ThrottlingException
- `481` — ConflictException
- `482` — ValidationException
- `483` — ServiceQuotaExceededException
- `484` — ResourceNotFoundException
- `485` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/codecatalyst.md) · [All operations](https://skmtc.net/aws/apis/codecatalyst/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/codecatalyst/versions/b82f5a10dc49/schema)
