---
title: "Add a new task"
method: POST
path: "/add-task"
tags: ["Tasks"]
---

# Add a new task

`POST /add-task`

Add a new task to Taskwarrior for a specific user

## Request body

- ModelsAddTaskRequestBody
  - `UUID` string
  - `annotations` ModelsAnnotation[]
    - `description` string
    - `entry` string
  - `depends` string[]
  - `description` string
  - `due` string
  - `email` string
  - `encryptionSecret` string
  - `end` string
  - `entry` string
  - `priority` string
  - `project` string
  - `recur` string
  - `start` string
  - `tags` string[]
  - `wait` string

## Response `202`

Task accepted for processing

- string

## Other responses

- `400` — Bad request - invalid input or missing required fields
- `405` — Method not allowed

---

[API](https://skmtc.dev/ccextractor/apis/ccsync-api.md) · [All operations](https://skmtc.dev/ccextractor/apis/ccsync-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ccextractor/ccsync-api/revisions/29008907af99/schema)
