---
title: "List subjects"
method: GET
path: "/subjects"
tags: ["Subjects"]
---

# List subjects

`GET /subjects`

## Request

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

## Query parameters

- `page` number
- `pageSize` number
- `direction` 'ASC' | 'DESC'
- `field` 'entity'
- `entity__exact` string
- `entity__contains` string

## Headers

- `organization` string, required

## Response `200`

Successful resopnse

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

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[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)
