---
title: "Update Subtask"
method: PUT
path: "/subtasks/{id}"
tags: ["subtasks"]
---

# Update Subtask

`PUT /subtasks/{id}`

## Request

- Base URL: `https://app.tascan.io/api/v1`
- URL: `https://app.tascan.io/api/v1/subtasks/{id}`
- Auth: HTTP bearer

Update a subtask (title, description, response_type, response_config, requires_photo, sort_order).

## Path parameters

- `id` string, required

## Request body

- object
  - `subtask_id` string, required: Subtask ID
  - `title` string
  - `description` string
  - `response_type` 'checkbox' | 'number' | 'text' | 'choice' | 'link' | 'url' | 'file': "link" = the worker submits a URL. "url" = the worker visits a preset URL and confirms. "file" = the worker uploads a file.
  - `response_config` object
  - `requires_photo` boolean
  - `sort_order` number

## Response `200`

Success. JSON body: { data: ... } or an error object { error, message }.

## Other responses

- `4XX`: Client error (validation, auth, scope, rate limit).

---

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