---
title: "Get Categories"
method: GET
path: "/userportal/categories"
tags: ["userportal-public"]
---

# Get Categories

`GET /userportal/categories`

## Request

- Base URL: `https://api.feedback1.ai/api/v1`
- URL: `https://api.feedback1.ai/api/v1/userportal/categories`
- Auth: none declared

Get all categories for a product.

Product is identified by domain or F1-Product header.
Used in the public userportal to display category filters.

Returns categories with:
- id: Category ID
- name/caption: Category name
- color: Hex color code for UI display
- createdDate: When the category was created
- lastEditDate: When the category was last modified

## Headers

- `F1-Product` string

## Response `200`

Successful Response

- CategoryOut[]
  - `id` string, required: Category ID
  - `name` string, required: Category name
  - `caption` string, required: Category name (legacy alias)
  - `color` string, required: Hex color code (e.g., #FF5733)
  - `createdDate` string, date-time, required: When the category was created
  - `lastEditDate` string, date-time, nullable: When the category was last modified

## Other responses

- `422`: Validation Error

---

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