Skip to content

Tasks reference

Reference for the Tasks endpoints. All paths start with https://<your-instance>/api/v1. Every request carries Authorization: Bearer hek_…. Formats, paging, deletion lists and error codes are on Conventions.

Reading needs read permission on the Tasks module, every writing request needs write permission (otherwise 403 with no_write_permission).

What for

  • An ERP or shop creates a task for every problem with an order and links it to the contact.
  • A form on your website lands as a task on a board.
  • A report shows open and overdue tasks per person.

Notifications

As in the app: people assigned to a task or subtask through the API get a notification, and the reminders before the due date run as for any task. The key’s own user never watches a task.

People

GET /api/v1/tasks/people returns the people tasks can be assigned to: active users who can log in, with id and name. Nothing else (no email, no role). Kiosk accounts and API keys are not in the list. Assignees and watchers must come from this list.

Boards and columns

EndpointPurpose
GET /api/v1/tasks/boards and /{board_id}Boards with name, icon, colour, tags and their columns in order. Parameter: tag.
POST /api/v1/tasks/boardsCreate a board (name, optionally icon, color, tags). It is always visible to Everyone.
PATCH /api/v1/tasks/boards/{board_id}Change name, icon, colour, tags. The visibility cannot be changed (422 with visibility_not_changeable).
POST /api/v1/tasks/boards/{board_id}/columnsAdd a column at the end
PUT /api/v1/tasks/boards/{board_id}/columns/orderReorder the columns (items: id, sort_order)
PATCH /api/v1/tasks/columns/{column_id}Rename a column
DELETE /api/v1/tasks/columns/{column_id}?move_to=…Delete a column. Its tasks move to the column move_to of the same board.
GET /api/v1/tasks/boards/deleted?since=…Boards deleted or no longer visible to everyone

Deleting a whole board (with every task on it) is only possible in the app.

Tasks

EndpointPurpose
GET /api/v1/tasks/itemsTasks. Parameters: board_id, column_id, status, assignee_id, due_before, due_after, completed, label, limit, cursor, updated_since.
GET /api/v1/tasks/items/{task_id}One task with assignees, watchers, subtasks and recurrence
POST /api/v1/tasks/itemsCreate a task (board_id, column_id, title, optionally description, priority, due_date, labels, assignee_ids)
PATCH /api/v1/tasks/items/{task_id}Change it; column_id moves the task within its board
DELETE /api/v1/tasks/items/{task_id}Delete it
PUT …/{task_id}/assignees, PUT …/{task_id}/watchersSet assignees or watchers (user_ids)
PUT …/{task_id}/statusStatus: offen (Open), gestartet (Started), erledigt (Done), gestoppt (Stopped)
POST …/{task_id}/complete, POST …/{task_id}/reopenComplete or reopen
PATCH …/{task_id}/recurrenceSet a recurrence (recurrence_type daily, weekly, monthly, custom_interval with interval, weekdays or day of month) or remove it with recurrence_type: null
PUT /api/v1/tasks/items/orderSet order and columns of several tasks of one board
GET /api/v1/tasks/items/deleted?since=…Tasks deleted or no longer reachable
Terminal window
curl -X POST "https://<your-instance>/api/v1/tasks/items" \
-H "Authorization: Bearer hek_…" \
-H "Content-Type: application/json" \
-d '{"board_id": "…", "column_id": "…", "title": "Order 4711: parcel missing",
"priority": "high", "due_date": "2026-11-12", "assignee_ids": ["…"]}'

completed=true returns done and stopped tasks. A new subtask, comment, assignment or link counts as a change to the task (updated_since).

Subtasks, comments, history

EndpointPurpose
POST /api/v1/tasks/items/{task_id}/subtasksAdd a subtask (title, optionally assignee_id, due_date)
PATCH, DELETE /api/v1/tasks/subtasks/{subtask_id}Change (also done) or delete it
PUT /api/v1/tasks/items/{task_id}/subtasks/orderOrder the subtasks
POST /api/v1/tasks/subtasks/{subtask_id}/promoteTurn a subtask into a task of its own
GET, POST /api/v1/tasks/items/{task_id}/commentsRead and write comments. The author is the key (“API: …”).
GET /api/v1/tasks/items/{task_id}/activityThe task’s history, newest first
EndpointPurpose
GET /api/v1/tasks/link-typesWhich records of other modules can be linked (for example CRM contact, batch, invoice)
GET /api/v1/tasks/items/{task_id}/linksLinks of a task and its subtasks
POST /api/v1/tasks/linksLink (task_id or subtask_id, module_key, entity_type, entity_id)
DELETE /api/v1/tasks/links/{link_id}Remove a link
GET /api/v1/tasks/links/backlinks?module_key=…&entity_type=…&entity_id=…Tasks linked to a record

Links are possible only to modules the key may read. For other modules a link shows only the ids, no name.

Error codes in this module

StatusCodeMeaning
404not_foundNot found, on a Team only board, belongs to another business, a person outside the people list, or a link target that does not exist or whose module the key may not read.
409column_not_emptyThe column has tasks: give move_to.
409last_columnA board keeps at least one column.
409recurrence_not_allowedThe task is itself an occurrence of a recurring task.
422visibility_not_changeableA board’s visibility cannot be changed through the API.
422validation_errorInvalid request, for example a column of another board or an unknown status.

What’s next