---
title: "Add/change color in task"
method: PUT
path: "/task_color"
tags: ["[v1] Task"]
---

# Add/change color in task

`PUT /task_color`

Creates job to add/change a task color (for everyone).

## Request body

- object
  - `task_id` union, required — task id
    - string
    - integer
  - `color` string, required — color in hex
  - `is_for_all_subtasks` boolean — is color for all subtasks, default: `false`

## Response `200`

OK

- object
  - `changedTasks` object
    - `[hex_color]` object[]
  - `taskJobResultId` boolean

---

[API](https://skmtc.net/timecamp/apis/timecamp-api.md) · [All operations](https://skmtc.net/timecamp/apis/timecamp-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/timecamp/timecamp-api/versions/c7e9d1f9cf61/schema)
