> ## Documentation Index
> Fetch the complete documentation index at: https://docs.donate.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# Categories

> List campaign categories

<Badge icon="globe" color="gray" shape="pill">
  Public (API key optional)
</Badge>

## List categories

`GET /categories`

Returns all campaign categories. Anonymous callers may omit `donate-api-key`.

```bash theme={null}
curl https://www.donate.gg/api/v1/categories
```

**Response (200)** - an array of category objects:

| Field       | Type           | Description         |
| ----------- | -------------- | ------------------- |
| `id`        | string         | Category id         |
| `name`      | string         | Display name        |
| `slug`      | string         | URL slug            |
| `imageUrl`  | string \| null | Optional image      |
| `isHot`     | boolean        | Featured / hot flag |
| `createdAt` | string (ISO)   | Created timestamp   |
| `updatedAt` | string (ISO)   | Updated timestamp   |
