---
title: "List all subcategories"
method: GET
path: "/api/subcategory"
tags: ["Subcategory"]
---

# List all subcategories

`GET /api/subcategory`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/subcategory`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/subcategory/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of all subcategories, optionally filtered by name

## Query parameters

- `name` string

## Response `200`

List of subcategories

- object[]
  - `id` integer
  - `name` string
  - `category_id` integer
  - `synopsis` string, nullable
  - `rank` integer, nullable

## Other responses

- `401`: Unauthenticated

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
