---
title: "Retrieve a subject"
method: GET
path: "/subjects/{subjectId}"
tags: ["Subjects"]
---

# Retrieve a subject

`GET /subjects/{subjectId}`

## Request

- Base URL: `https://api-staging.fanheroapi.com`
- URL: `https://api-staging.fanheroapi.com/subjects/{subjectId}`
- Auth: API key in header `apiKey`

## Response `200`

Successful resopnse

- SubjectDto
  - `id` string: Subject ID
  - `fields` string[]: Fields
  - `entity` string: Entity identified by this subject

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Subject not found

---

[API](https://skmtc.dev/fanhero/apis/user-management-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/user-management-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/user-management-endpoints/revisions/3f982670c057?raw)
