latestOpenAPI 3.1.02026-08-211061591.1 MB
69a962f1578f
Tasks
Create Task
Create a new task.
post/api/v1/tasks
Request body
Example request
{
"content": "Buy milk",
"description": "Pick up two liters of whole milk.",
"project_id": "6XGgm6PHrGgMpCFX",
"section_id": "6fFPHV272WWh3gpW",
"parent_id": "6XGgmFVcrG5RRjVr",
"order": 12,
"labels": [
"errands",
"shopping"
],
"priority": 2,
"assignee_id": 123456789,
"due_string": "tomorrow at 12:00",
"due_date": "2025-02-12",
"due_datetime": "2025-02-12T12:00:00Z",
"due_lang": "en",
"duration": 30,
"duration_unit": "minute",
"deadline_date": "2025-02-12"
}Response
Successful Response
Example response
{
"user_id": "1234567",
"id": "6XGgmFVcrG5RRjVr",
"project_id": "6XGgm6PHrGgMpCFX",
"section_id": "6fFPHV272WWh3gpW",
"parent_id": "6XGgmFVcrG5RRjVr",
"added_by_uid": "1234567",
"assigned_by_uid": "1234567",
"responsible_uid": "1234567",
"labels": [
"priority"
],
"deadline": {
"date": "2025-02-12",
"lang": "en"
},
"duration": {
"amount": 30,
"unit": "minute"
},
"added_at": "2025-01-15T10:30:00Z",
"completed_at": "2025-01-16T10:30:00Z",
"completed_by_uid": "1234567",
"updated_at": "2025-01-17T10:30:00Z",
"due": {
"date": "2025-02-12",
"is_recurring": false,
"lang": "en",
"string": "tomorrow"
},
"priority": 1,
"child_order": 1,
"order_key": "a1V",
"content": "Buy milk",
"description": "Pick up organic milk",
"day_order": 1,
"completed_count": 3,
"postponed_count": 1
}