Tasks API
Read, create, change, complete and delete a user’s tasks, and manage the task lists they live on. Every mailbox comes with a list called Reminders, and apps such as Apple Reminders can add more over CalDAV. All endpoints are under https://api.cirrux.co/public_api/v1.
Every endpoint acts on one person’s tasks, so it needs a user-scoped OAuth token. A workspace API key is refused with 403 forbidden. Reading needs tasks.read, and creating, renaming or deleting needs tasks.write. Tasks are granted separately from calendars: a token with calendar.read or calendar.write alone is refused with 403 insufficient_scope. Changes made through the API reach every connected app and CalDAV client, such as Apple Reminders.
A calendar can hold events and tasks at once, which some CalDAV apps create. Such a calendar is listed here and under the Calendar API too, and a calendar that holds only tasks is listed here alone.
The task list object#
| Field | Type | Required | Description |
|---|---|---|---|
| object | string | no | Always task_list. |
| uuid | string | no | This list’s entry in one mailbox. The task endpoints take task_list_uuid instead. |
| task_list_uuid | string | no | The task list itself. |
| mailbox_uuid | string | no | The mailbox this entry belongs to. |
| mailbox_address | string | null | no | That mailbox’s email address. Every mailbox has a list called "Reminders", and this tells them apart. |
| name | string | no | The list’s name in this mailbox. |
| color | string | null | no | A #RRGGBB hex color. |
| role | string | no | Your access: owner, editor or viewer. |
| can_write | boolean | no | Whether you may change the tasks on this list (owner or editor). |
| source | string | no | owned for your own list, shared for one someone shared with you. |
| position | number | null | no | Sort position. |
Name, color and position belong to a mailbox, not to the list, so a list linked to two of your mailboxes appears twice, with the same task_list_uuid and a different uuid.
{
"object": "task_list",
"uuid": "6f1d2c3b-1111-4a2b-8c3d-000000000001",
"task_list_uuid": "9a8b7c6d-2222-4e5f-9a1b-000000000002",
"mailbox_uuid": "1c2d3e4f-3333-4a5b-8c6d-000000000003",
"mailbox_address": "jane@example.com",
"name": "Reminders",
"color": "#e8985e",
"role": "owner",
"can_write": true,
"source": "owned",
"position": 1
}The task object#
| Field | Type | Required | Description |
|---|---|---|---|
| object | string | no | Always task. |
| uuid | string | no | The task. |
| task_list_uuid | string | no | The task list it is on. |
| title | string | no | What there is to do. |
| notes | string | null | no | Free text notes, when there are any. |
| status | string | no | needs_action, in_process, completed or cancelled. |
| due | object | null | no | An object with date for a due date without a time, or date_time (UTC) for a timed one, the same shape as an event’s start. null when it has no due date. |
| completed_at | string | null | no | When it was completed, when known. |
| recurring | boolean | no | Whether it repeats. A repeating task is its series, listed once, with the due date of the series. |
| created_at | string | no | When it was created. |
| updated_at | string | no | When it last changed. |
{
"object": "task",
"uuid": "2b3c4d5e-4444-4f6a-8b7c-000000000004",
"task_list_uuid": "9a8b7c6d-2222-4e5f-9a1b-000000000002",
"title": "Call Jan",
"notes": "About the offsite",
"status": "needs_action",
"due": { "date_time": "2026-10-30T08:00:00Z" },
"completed_at": null,
"recurring": false,
"created_at": "2026-10-20T09:12:44.512Z",
"updated_at": "2026-10-20T09:12:44.512Z"
}Tasks#
List tasks
/v1/tasksReturns the tasks on every task list you can see, ordered by when they are due with undated tasks last, then by when they were created. Open tasks only unless you ask for others. Paginated: follow next_cursor while has_more is true. Scope tasks.read.
| Field | Type | Required | Description |
|---|---|---|---|
| status | string | no | open (the default: needs_action and in_process), completed, or all, which includes cancelled. |
| due_before | string | no | Only tasks due before this, exclusive: an ISO-8601 timestamp, or a YYYY-MM-DD date meaning midnight in timezone. Tasks without a due date are never included. |
| timezone | string | no | IANA time zone for a date due_before, and for ordering due dates without a time among timed ones. Defaults to the user’s own. |
| limit | number | no | Tasks per page, 1 to 100. Defaults to 50. |
| cursor | string | no | The next_cursor of the previous page. |
curl -G https://api.cirrux.co/public_api/v1/tasks \ -d due_before=2026-11-02 \ -H "Authorization: Bearer $CIRRUX_TOKEN"
List the tasks on a task list
/v1/task_lists/{task_list_uuid}/tasksThe same, for one task list. A list you cannot see, or a calendar that holds no tasks, is 404 not_found. Scope tasks.read.
Create a task
/v1/task_lists/{task_list_uuid}/tasksCreates an open task on a task list you can write (can_write). Returns 201 with the task object. Unknown fields are refused with 422 invalid_value rather than ignored. Scope tasks.write.
| Field | Type | Required | Description |
|---|---|---|---|
| title | string | yes | What there is to do. |
| notes | string | null | no | Free text notes. |
| due | object | null | no | { "date": "2026-10-30" } for a day, or date_time for a time: with an offset, or wall-clock time in time_zone, which defaults to the user’s own. |
curl https://api.cirrux.co/public_api/v1/task_lists/9a8b7c6d-…/tasks \
-H "Authorization: Bearer $CIRRUX_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"title": "Call Jan",
"due": { "date_time": "2026-10-30T09:00" }
}'Change or complete a task
/v1/tasks/{task_uuid}Changes the fields you send and returns the task. Complete a task with "status": "completed", which records completed_at, and reopen it with needs_action, which clears it. Apple Reminders and other CalDAV apps see the task as done too. "due": null removes the due date. A repeating task only takes title and notes, because anything else would mean one occurrence of it. Scope tasks.write.
| Field | Type | Required | Description |
|---|---|---|---|
| title | string | no | A new title. |
| notes | string | null | no | New notes, or null to remove them. |
| due | object | null | no | A new due date, as on create, or null to remove it. |
| status | string | no | completed or needs_action. |
Delete a task
/v1/tasks/{task_uuid}Deletes a task and returns 204. A repeating task cannot be deleted here. Scope tasks.write.
Task lists#
List task lists
/v1/task_listsReturns every task list you can see in the token’s workspace, one entry per mailbox it is linked to, ordered by position and then name. Not paginated. Scope tasks.read.
curl https://api.cirrux.co/public_api/v1/task_lists \ -H "Authorization: Bearer $CIRRUX_TOKEN"
{
"object": "list",
"url": "/v1/task_lists",
"has_more": false,
"data": [
{
"object": "task_list",
"name": "Reminders",
"task_list_uuid": "9a8b7c6d-…",
…
}
]
}Create a task list
/v1/task_listsCreates a task list owned by you, in a mailbox you own, after your other calendars and task lists there. Returns 201 with the task list object. Unknown fields are refused with 422 invalid_value rather than ignored. Scope tasks.write.
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The list’s name, up to 255 characters. |
| color | string | no | A #RRGGBB hex color. Defaults to one from the palette. |
| mailbox_uuid | string | no | A mailbox you own. Defaults to your own mailbox in the token’s workspace. A mailbox you only reach as a member, such as a shared one, is not found. |
curl https://api.cirrux.co/public_api/v1/task_lists \
-H "Authorization: Bearer $CIRRUX_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "name": "Groceries", "color": "#4cb782" }'Rename a task list
/v1/task_lists/{task_list_uuid}Changes the name or color of a task list in one of your mailboxes, and returns the updated task list. Send at least one of name and color; what you leave out stays as it is. Name and color belong to a mailbox, so when the list is in more than one of yours, say which with mailbox_uuid. Scope tasks.write.
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | no | The new name. |
| color | string | no | A new #RRGGBB hex color. |
| mailbox_uuid | string | no | Which of your mailboxes to rename it in. Required when the list is in more than one, and 422 mailbox_uuid_required without it. |
Delete a task list
/v1/task_lists/{task_list_uuid}Deletes a task list and every task on it, for everyone it is shared with. Only its owner can delete it. A calendar that holds events as well as tasks is refused, because deleting it would delete those events too. Returns 204. Scope tasks.write.
Errors#
Task error codes
On top of the shared errors, task endpoints can return:
| Status | error | When |
|---|---|---|
| 404 | not_found | The task, task list or mailbox does not exist or is not yours to use. A calendar that holds no tasks is not a task list. A task list entry’s own uuid is not a task_list_uuid either, and the error_description says which task_list_uuid to use. |
| 403 | not_authorized | The task list was shared with you to view (can_write is false), so its tasks cannot be changed. |
| 403 | not_owner | Only the owner of a task list can delete it. |
| 402 | subscription_required | The workspace needs an active subscription to create task lists or tasks. |
| 422 | invalid_value | The body has an unknown field, a blank or overlong name or title, a color that is not #RRGGBB, a due date it cannot read, or a status other than completed or needs_action. Or a task listing has a status, due_before or timezone it cannot read. |
| 422 | recurring_task | The task repeats, and the change would apply to one occurrence. Only its title and notes can change here. |
| 422 | no_changes | A rename or a task change sent nothing to change. |
| 422 | mailbox_uuid_required | The task list is in more than one of your mailboxes, and the rename did not say which. |
| 422 | holds_events | The task list is also a calendar with events, so it cannot be deleted here. |
| 422 | no_own_mailbox | You own no mailbox in this workspace to create it in. |
| 422 | invalid_uuid | task_uuid, task_list_uuid or mailbox_uuid is not a valid UUID. |