---
title: "Get a task category"
method: GET
path: "/task-categories/{id}"
tags: ["Task Categories"]
---

# Get a task category

`GET /task-categories/{id}`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/task-categories/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

200

- TaskCategory
  - `id` string: The unique identifier for the object.
  - `name` string: The name of the task category.
  - `type` 'standard' | 'rollup' | 'milestone': The type of the task category.
  - `icon` 'check-circle' | 'folder' | 'tasks' | 'clipboard' | 'lightbulb' | 'rocket' | 'wrench' | 'file' | 'file-alt' | 'calendar' | 'users': The icon identifier for the task category.
  - `color` 'grey' | 'grey-light' | 'teal' | 'teal-light' | 'blue' | 'blue-light' | 'orange' | 'orange-light' | 'brown' | 'brown-light' | 'purple' | 'purple-light': The color identifier for the task category.
  - `isActive` boolean: Whether the task category is active.
  - `isDefault` boolean: Whether this is the default task category for the workspace.
  - `createdAt` string, date-time: The timestamp when the object was created.

## Other responses

- `400`: 400
- `404`: 404

---

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