Skip to content

Tasks

Tasks and subtasks: find them, add them, move them along and tick them off. Every request needs an API key; the examples read it from $MAVATU_API_KEY. How lists, dates, money and errors work is in the API guide.

The task object

A task in a project, or a subtask of another task. Its lane is its column on the project's board, and its status what that lane means.

objectstring

Always task.

idstring
titlestring
descriptionstring

Markdown. Mentions are @[Name](mem_…).

project{id, name}
parent{id, name}or null

The task it's a subtask of; null for a top-level task.

lane{id, name}

Its column on the project's board.

statusstring

What its lane means: todo, doing or done.

prioritystring

none, low, medium, high or urgent.

assignee{id, name}or null
requester{id, name}or null

Who asked for it: a contact in the directory.

start_ondateor null

YYYY-MM-DD.

due_ondateor null

YYYY-MM-DD.

due_timestringor null

HH:MM on the workspace's clock, when it's due at a time of day; null if it's due on the day.

milestoneboolean
effort_hoursnumberor null

The estimate, in hours.

waits_forarray of {id, name}or null

Tasks it's blocked by.

followersarray of {id, name}or null
subtasksobject
totalinteger
doneinteger
commentsinteger

How many comments the key's person can read.

repeatsstringor null

How it comes round again once done, e.g. Weekly on Monday; null if it doesn't.

tagsarray of {id, name}or null

Its tags, in order: see GET /tags?record_type=task.

fieldsobject

Custom field values the key's person can see, by field ID: see GET /fields?record_type=task. One kept from a project it was in before, whose field isn't used in this one, comes only when reading the task itself.

created_by{id, name}or null
done_attimeor null

When it was done; null while it isn't.

urlstring
created_attime
updated_attime
The task object
{
"object": "task",
"id": "tsk_01jc5gqapenecfseczp11hygcp",
"title": "Send the moodboard to Priya",
"description": "Three directions, as we talked through on Tuesday. @[Wren Abbott](mem_01jc3e28jt97kb6cq643dzvmxx) has the files.",
"project": {
"id": "prj_01jc9ee0zbgj09tqm83xssss6y",
"name": "Honeybee Bakery rebrand"
},
"parent": null,
"lane": {
"id": "sts_01jcb9y73my63fch26w14wmchw",
"name": "In progress"
},
"status": "doing",
"priority": "high",
"assignee": {
"id": "mem_01jc3e28jt97kb6cq643dzvmxx",
"name": "Wren Abbott"
},
"requester": {
"id": "ctc_01jc1rnj47e65gh2bh8vgs9zm5",
"name": "Priya Shah"
},
"start_on": "2026-11-09",
"due_on": "2026-11-13",
"due_time": "15:00",
"milestone": false,
"effort_hours": 4,
"waits_for": [
{
"id": "tsk_01jcwpq5e6eycndy0yp57rcybv",
"name": "Agree the brief"
}
],
"followers": [
{
"id": "mem_01jcm9s346q3d25vt4f5v37e3s",
"name": "Imogen Hale"
},
{
"id": "mem_01jc3e28jt97kb6cq643dzvmxx",
"name": "Wren Abbott"
}
],
"subtasks": {
"total": 3,
"done": 1
},
"comments": 2,
"repeats": null,
"tags": [
{
"id": "tag_01jcqv7d0v6m3fz2t9w3hq2bga",
"name": "Urgent"
}
],
"fields": {
"fld_01jck2v1c8f8jj3m1vq6gmq9hd": "opt_01jcj4ex0g6p1s7yb3n2tq5d8w"
},
"created_by": {
"id": "mem_01jcm9s346q3d25vt4f5v37e3s",
"name": "Imogen Hale"
},
"done_at": null,
"url": "https://app.mavatu.com/kettle-kite/projects/t/tsk_01jc5gqapenecfseczp11hygcp",
"created_at": "2026-11-02T11:17:36Z",
"updated_at": "2026-11-06T09:48:12Z"
}

List tasks

GET/tasks

Tasks the key's person can see, newest first, done ones included unless status says otherwise. Top-level tasks unless parent_id (that task's subtasks) or include_subtasks. The tasks of archived projects are listed only when project_id names that project.

Filters and paging

project_idstring
assignee_idstring

A member's ID, me, or none for unassigned tasks.

statusstring

todo, doing, done, or open (todo and doing). Default all of them.

lane_idstring

One lane of a project.

parent_idstring

A task: list its subtasks.

include_subtasksboolean

true to list subtasks too, at every level.

due_fromdate

Due on or after this day (YYYY-MM-DD).

due_todate

Due on or before this day (YYYY-MM-DD).

qstring

Part of the title.

tagarray of strings

Only those with these tags, by ID or name (GET /tags lists them): repeat it, or separate them with commas, up to 50. tag_mode says whether they need all of them, any or none. A tag not used on this kind of record is refused.

tag_modestring

With tag: all (the default) for those with every one of the tags, any for those with at least one, none for those with none of them.

fieldobject

Only those whose custom field matches, with the field by ID or name (GET /fields lists them), e.g. field[Phase]=Design. Options are by ID or name, people by ID, me, email or name, contacts by ID, email or name, and companies by ID, domain or name: up to 50, repeated or comma-separated, match any of them. Commas always separate values, so give one with a comma in its name by ID. A checkbox is true or false. Text matches when it contains the value, ignoring case. A number, amount or date matches exactly, and field[…][from] and field[…][to] give an inclusive range. Dates are YYYY-MM-DD; amounts are in the workspace's currency, in its smallest unit (500000 is 5,000.00), with other currencies converted at today's rate. none matches those with no value, any those with one. Every filter must match.

limitinteger

How many to return, 1 to 100. Default 25.

cursorstring

next_cursor from the previous page.

sortstring

created_at (the default: in the order they were made) or updated_at (by when they last changed).

orderstring

desc (the default: newest first) or asc (oldest first). To sync everything that changed, use sort=updated_at&order=asc with updated_since: what changes while you page through comes again at the end.

updated_sincetime

Only what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.

Returns

A list of tasks.

GET /tasks
curl -g "https://app.mavatu.com/api/v1/tasks?assignee_id=me&status=open&due_to=2026-11-13&field[Phase]=Discovery" \
-H "Authorization: Bearer $MAVATU_API_KEY"

Get a task

GET/tasks/{id}

One task, with its description, lane, assignee, dates and what it waits for.

Path

idstringrequired

The task's ID.

Returns

The task.

GET /tasks/{id}
curl https://app.mavatu.com/api/v1/tasks/tsk_01jc5gqapenecfseczp11hygcp \
-H "Authorization: Bearer $MAVATU_API_KEY"

Create a task

POST/tasks

Add a task to a project, or a subtask under parent_id. The assignee and anyone @mentioned in the description are notified.

Needs a key that can read and change. Send an Idempotency-Key to try it again safely.

Body

idstring

Your own ID for it (tsk_…), or leave it out.

project_idstring

The project to add it to. Needed unless parent_id is given.

parent_idstring

Make it a subtask of this task, in its project.

titlestringrequired
descriptionstring

Markdown. Mention someone with @[Their Name](mem_…).

lane_idstring

The lane to put it in. Default the first with its status.

statusstring

todo, doing or done: the first lane that means it. Default todo.

prioritystring

none, low, medium, high or urgent. Default none.

assignee_idstring

A member who can see the project, or me.

requester_idstring

Who asked for it: a contact in the directory.

start_ondate

YYYY-MM-DD.

due_ondate

YYYY-MM-DD.

due_timestring

HH:MM on the workspace's clock, with due_on: due at that time of day.

milestoneboolean
effort_hoursnumber

The estimate, in hours.

tagsobject

Tags to give it: {add: [IDs or names]}.

addarray of strings

Tags to add, by ID or name (see GET /tags): a new name makes a tag.

removearray of strings

Tags to take off, by ID or name.

fieldsobject

Custom field values, by field ID or name: see GET /fields?record_type=task (those used in its project). Over the fields' defaults.

Returns

The task, with 201 Created.

POST /tasks
curl -X POST https://app.mavatu.com/api/v1/tasks \
-H "Authorization: Bearer $MAVATU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"project_id": "prj_01jc9ee0zbgj09tqm83xssss6y",
"title": "Send the moodboard to Priya",
"assignee_id": "mem_01jc3e28jt97kb6cq643dzvmxx",
"due_on": "2026-11-13",
"priority": "high",
"description": "Three directions, as we talked through on Tuesday."
}'

Update a task

PATCH/tasks/{id}

Change a task. Only the fields you send change; null clears one. status done (or a done lane) completes it, and its followers hear about it.

Needs a key that can read and change. Send an Idempotency-Key to try it again safely.

Path

idstringrequired

The task's ID.

Body

titlestringor null
descriptionstringor null

Markdown.

lane_idstringor null

A lane in its project.

statusstringor null

todo, doing or done: the first lane that means it, unless it's in one already. done completes it; todo on a completed task reopens it in the lane it was completed from.

prioritystringor null

none, low, medium, high or urgent.

assignee_idstringor null

A member who can see the project, me, or null to unassign.

requester_idstringor null

A contact in the directory, or null.

start_ondateor null

YYYY-MM-DD, or null.

due_ondateor null

YYYY-MM-DD, or null (which clears due_time too).

due_timestringor null

HH:MM on the workspace's clock, or null: due on the day.

milestonebooleanor null
effort_hoursnumberor null

The estimate, in hours, or null.

tagsobjector null

Tags to add and take off: {add, remove}, by ID or name.

addarray of stringsor null

Tags to add, by ID or name (see GET /tags): a new name makes a tag.

removearray of stringsor null

Tags to take off, by ID or name.

fieldsobject

Custom field values by field ID or name, merged into its others: a null value clears that field.

Returns

The task.

PATCH /tasks/{id}
curl -X PATCH https://app.mavatu.com/api/v1/tasks/tsk_01jc5gqapenecfseczp11hygcp \
-H "Authorization: Bearer $MAVATU_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "done",
"tags": {
"remove": [
"tag_01jcqv7d0v6m3fz2t9w3hq2bga"
]
}
}'