---
title: "Updates the content of a task."
method: PUT
path: "/api/task/update-task-content"
tags: ["Task"]
---

# Updates the content of a task.

`PUT /api/task/update-task-content`

## Request

- Base URL: `https://app.checkflow.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.checkflow.io/api/task/update-task-content`
- Auth: none declared

If you do not know the task content values required to perform an update use - GET: /api/task/details

Sample request:

    PUT: /api/task/update-task-content
    {
        "taskContentID": 285212,
        "contentID": 74838,
        "key": "cea96ee1-e6e9-4dc9-abf5-f3714f70f53e",
        "contentType": 2,
        "name": "Short Text",
        "value": "Updated from the API"
    }

## Headers

- `X-API-VERSION` string
- `X-API-KEY` unknown

## Request body

- TaskContentSummary
  - `taskContentID` integer
  - `contentID` integer
  - `key` string, uuid
  - `contentType` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20
  - `name` string, nullable
  - `value` unknown

## Response `200`

If the task content was updated successfully

## Other responses

- `400`: If the task content could not be updated
- `401`: If the API Key could not be validated
- `404`: If the task content could not be found

---

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