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.
objectstringAlways task.
idstringtitlestringdescriptionstringMarkdown. Mentions are @[Name](mem_…).
project{id, name}parent{id, name}or nullThe task it's a subtask of; null for a top-level task.
lane{id, name}Its column on the project's board.
statusstringWhat its lane means: todo, doing or done.
prioritystringnone, low, medium, high or urgent.
assignee{id, name}or nullrequester{id, name}or nullWho asked for it: a contact in the directory.
start_ondateor nullYYYY-MM-DD.
due_ondateor nullYYYY-MM-DD.
due_timestringor nullHH:MM on the workspace's clock, when it's due at a time of day; null if it's due on the day.
milestonebooleaneffort_hoursnumberor nullThe estimate, in hours.
waits_forarray of {id, name}or nullTasks it's blocked by.
followersarray of {id, name}or nullsubtasksobjecttotalintegerdoneinteger
commentsintegerHow many comments the key's person can read.
repeatsstringor nullHow it comes round again once done, e.g. Weekly on Monday; null if it doesn't.
tagsarray of {id, name}or nullIts tags, in order: see
GET /tags?record_type=task.fieldsobjectCustom 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 nulldone_attimeor nullWhen it was done; null while it isn't.
urlstringcreated_attimeupdated_attime
{ "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_idstringassignee_idstringA member's ID, me, or none for unassigned tasks.
statusstringtodo, doing, done, or open (todo and doing). Default all of them.
lane_idstringOne lane of a project.
parent_idstringA task: list its subtasks.
include_subtasksbooleantrue to list subtasks too, at every level.
due_fromdateDue on or after this day (YYYY-MM-DD).
due_todateDue on or before this day (YYYY-MM-DD).
qstringPart of the title.
tagarray of stringsOnly those with these tags, by ID or name (
GET /tagslists 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_modestringWith 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.
fieldobjectOnly those whose custom field matches, with the field by ID or name (
GET /fieldslists 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.limitintegerHow many to return, 1 to 100. Default 25.
cursorstringnext_cursor from the previous page.
sortstringcreated_at (the default: in the order they were made) or updated_at (by when they last changed).
orderstringdesc (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_sincetimeOnly what changed at or after this time (RFC 3339, e.g. 2026-11-06T09:00:00Z): for polling.
Returns
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.
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
idstringYour own ID for it (tsk_…), or leave it out.
project_idstringThe project to add it to. Needed unless parent_id is given.
parent_idstringMake it a subtask of this task, in its project.
titlestringrequireddescriptionstringMarkdown. Mention someone with @[Their Name](mem_…).
lane_idstringThe lane to put it in. Default the first with its status.
statusstringtodo, doing or done: the first lane that means it. Default todo.
prioritystringnone, low, medium, high or urgent. Default none.
assignee_idstringA member who can see the project, or me.
requester_idstringWho asked for it: a contact in the directory.
start_ondateYYYY-MM-DD.
due_ondateYYYY-MM-DD.
due_timestringHH:MM on the workspace's clock, with due_on: due at that time of day.
milestonebooleaneffort_hoursnumberThe estimate, in hours.
tagsobjectTags to give it: {add: [IDs or names]}.
addarray of stringsTags to add, by ID or name (see
GET /tags): a new name makes a tag.removearray of stringsTags to take off, by ID or name.
fieldsobjectCustom field values, by field ID or name: see
GET /fields?record_type=task(those used in its project). Over the fields' defaults.
Returns
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
idstringrequiredThe task's ID.
Body
titlestringor nulldescriptionstringor nullMarkdown.
lane_idstringor nullA lane in its project.
statusstringor nulltodo, 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 nullnone, low, medium, high or urgent.
assignee_idstringor nullA member who can see the project, me, or null to unassign.
requester_idstringor nullA contact in the directory, or null.
start_ondateor nullYYYY-MM-DD, or null.
due_ondateor nullYYYY-MM-DD, or null (which clears due_time too).
due_timestringor nullHH:MM on the workspace's clock, or null: due on the day.
milestonebooleanor nulleffort_hoursnumberor nullThe estimate, in hours, or null.
tagsobjector nullTags to add and take off: {add, remove}, by ID or name.
addarray of stringsor nullTags to add, by ID or name (see
GET /tags): a new name makes a tag.removearray of stringsor nullTags to take off, by ID or name.
fieldsobjectCustom field values by field ID or name, merged into its others: a null value clears that field.
Returns
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" ] }}'