---
title: "Update Task"
method: PATCH
path: "/api/tasks/{task_id}"
tags: ["tasks"]
---

# Update Task

`PATCH /api/tasks/{task_id}`

## Path parameters

- `task_id` string, uuid, required

## Request body

- TaskUpdate
  - `title` string, nullable
  - `description` string, nullable
  - `status` 'incomplete' | 'completed', nullable
  - `assigned_to_user_id` string, uuid, nullable
  - `requested_by_user_id` string, uuid, nullable
  - `person_id` string, uuid, nullable
  - `company_id` string, uuid, nullable
  - `campaign_id` string, uuid, nullable
  - `needs_review` boolean, nullable
  - `due_at` string, date-time, nullable
  - `metadata` object, nullable

## Response `200`

Successful Response

- TaskOut
  - `id` string, uuid, required
  - `title` string, required
  - `description` string, nullable, required
  - `status` string, required
  - `task_type` string, required
  - `assigned_to_user_id` string, uuid, nullable, required
  - `assigned_to_email` string, nullable
  - `requested_by_user_id` string, uuid, nullable, required
  - `person_id` string, uuid, nullable, required
  - `person_name` string, nullable
  - `person_linkedin_url` string, nullable
  - `company_id` string, uuid, nullable, required
  - `company_name` string, nullable
  - `campaign_id` string, uuid, nullable, required
  - `source` string, required
  - `source_campaign_name` string, nullable, required
  - `source_external_id` string, nullable, required
  - `needs_review` boolean, required
  - `due_at` string, date-time, nullable, required
  - `completed_at` string, date-time, nullable, required
  - `metadata` object, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rethoric/apis/rethoric-os.md) · [All operations](https://skmtc.dev/rethoric/apis/rethoric-os/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rethoric/rethoric-os/revisions/76b6d39426f6/schema)
