---
title: "Get user by ID"
method: GET
path: "/v1/users/{userId}"
tags: ["Users"]
---

# Get user by ID

`GET /v1/users/{userId}`

## Response `200`

200 response

- UserAccount
  - `user` UserData, required
    - `id` string, required
    - `username` string, required
    - `avatarUrl` string, required
    - `emailAddress` string, required
    - `marketingOptIn` boolean, required
    - `signupDate` string, required
    - `idpUserId` string, required
    - `userHash` string, required
    - `links` UserLinks, required
      - `self` string
      - `features` string
      - `teams` string
      - `mockApis` string
      - `apiTemplateCatalogues` string
      - `apiTemplates` string
      - `organisation` string
      - `plan` string
      - `usage` string
      - `grants` string
      - `catalogue` string
      - `next` string
      - `previous` string
      - `users` string
      - `subscription` string
      - `invitations` string
      - `paymentMethod` string
      - `href` string
    - `hasNativeIdp` boolean, required

## Other responses

- `401` — 401 Unauthenticated response
- `403` — 403 Unauthorized response
- `404` — 404 Not Found response

---

[API](https://skmtc.net/wiremock/apis/wiremock-cloud.md) · [All operations](https://skmtc.net/wiremock/apis/wiremock-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wiremock/wiremock-cloud/revisions/93bebefc672f/schema)
