cirrux

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#

FieldTypeRequiredDescription
objectstringnoAlways task_list.
uuidstringnoThis list’s entry in one mailbox. The task endpoints take task_list_uuid instead.
task_list_uuidstringnoThe task list itself.
mailbox_uuidstringnoThe mailbox this entry belongs to.
mailbox_addressstring | nullnoThat mailbox’s email address. Every mailbox has a list called "Reminders", and this tells them apart.
namestringnoThe list’s name in this mailbox.
colorstring | nullnoA #RRGGBB hex color.
rolestringnoYour access: owner, editor or viewer.
can_writebooleannoWhether you may change the tasks on this list (owner or editor).
sourcestringnoowned for your own list, shared for one someone shared with you.
positionnumber | nullnoSort 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#

FieldTypeRequiredDescription
objectstringnoAlways task.
uuidstringnoThe task.
task_list_uuidstringnoThe task list it is on.
titlestringnoWhat there is to do.
notesstring | nullnoFree text notes, when there are any.
statusstringnoneeds_action, in_process, completed or cancelled.
dueobject | nullnoAn 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_atstring | nullnoWhen it was completed, when known.
recurringbooleannoWhether it repeats. A repeating task is its series, listed once, with the due date of the series.
created_atstringnoWhen it was created.
updated_atstringnoWhen 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

GET/v1/tasks

Returns 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.

FieldTypeRequiredDescription
statusstringnoopen (the default: needs_action and in_process), completed, or all, which includes cancelled.
due_beforestringnoOnly 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.
timezonestringnoIANA time zone for a date due_before, and for ordering due dates without a time among timed ones. Defaults to the user’s own.
limitnumbernoTasks per page, 1 to 100. Defaults to 50.
cursorstringnoThe 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

GET/v1/task_lists/{task_list_uuid}/tasks

The 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

POST/v1/task_lists/{task_list_uuid}/tasks

Creates 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.

FieldTypeRequiredDescription
titlestringyesWhat there is to do.
notesstring | nullnoFree text notes.
dueobject | nullno{ "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

POST/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.

FieldTypeRequiredDescription
titlestringnoA new title.
notesstring | nullnoNew notes, or null to remove them.
dueobject | nullnoA new due date, as on create, or null to remove it.
statusstringnocompleted or needs_action.

Delete a task

DELETE/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

GET/v1/task_lists

Returns 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

POST/v1/task_lists

Creates 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.

FieldTypeRequiredDescription
namestringyesThe list’s name, up to 255 characters.
colorstringnoA #RRGGBB hex color. Defaults to one from the palette.
mailbox_uuidstringnoA 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

POST/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.

FieldTypeRequiredDescription
namestringnoThe new name.
colorstringnoA new #RRGGBB hex color.
mailbox_uuidstringnoWhich 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

DELETE/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:

StatuserrorWhen
404not_foundThe 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.
403not_authorizedThe task list was shared with you to view (can_write is false), so its tasks cannot be changed.
403not_ownerOnly the owner of a task list can delete it.
402subscription_requiredThe workspace needs an active subscription to create task lists or tasks.
422invalid_valueThe 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.
422recurring_taskThe task repeats, and the change would apply to one occurrence. Only its title and notes can change here.
422no_changesA rename or a task change sent nothing to change.
422mailbox_uuid_requiredThe task list is in more than one of your mailboxes, and the rename did not say which.
422holds_eventsThe task list is also a calendar with events, so it cannot be deleted here.
422no_own_mailboxYou own no mailbox in this workspace to create it in.
422invalid_uuidtask_uuid, task_list_uuid or mailbox_uuid is not a valid UUID.