01
Before you start
Paths are given in full, or relative to /apis/v1/tasks where a table says so. Every request needs a Ration bearer token (see Authentication):
Authorization: Bearer <ration_access_token>
Content-Type: application/json02
Task model
Task responses are wrapped as { "task": { ... } }. Core fields:
| Field | Type | Description |
|---|---|---|
id, title, description | String | Task identity and content. title is required on create. |
completed, completed_at | Boolean, date-time | Completion state and time. |
date, start_date, reminder_at, reminder_tz | String | Due, start and reminder scheduling. |
priority, complexity, sensitivity, blocked | String/Boolean | Planning and access state. |
labels, references, attachments | Array | Categorisation, source links and attached files. |
assignees, delegates, followers | Array | Collaboration members. |
subtasks, comments, activity | Array | Work breakdown, discussion and audit activity. |
dependencies | String array | Tasks that must be complete before this one can be completed. |
recurrence | Object or null | Recurrence definition. Completing a recurring task creates the next instance. |
space_slug, group | String | Workspace and grouping context. |
role | String | The caller’s access role, when returned. |
03
List tasks
GET /apis/v1/tasks returns { "tasks": [Task] }. Use assigned=me to return only work assigned to the authenticated user. Other supported list options go to Ration’s task query for filtering and ordering.
04
Create a task
POST /apis/v1/tasks
- Other useful create fields:
group,space_slug,start_date,completed,sensitivity,complexity,my_day,labels,assignees,delegates,followers,subtasks,references,attachments,recurrence,blocked,dependencies,reminder_atandreminder_tz. - Success returns
201 { "task": Task }. - A forbidden workspace returns
403 { "error": "workspace_forbidden" }.
{
"title": "Prepare launch brief",
"description": "Include the final rollout checklist.",
"date": "2026-08-14",
"priority": "high",
"assignees": [{ "id": "user-id", "email": "sam@example.com" }],
"labels": ["launch"],
"dependencies": ["blocking-task-id"]
}05
Read, update or delete
| Method | Path | Response |
|---|---|---|
GET | /apis/v1/tasks/:id | { "task": Task, "role": "…" }. Shared tasks also include shared: true. |
PATCH or PUT | /apis/v1/tasks/:id | Updated { "task": Task }. |
DELETE | /apis/v1/tasks/:id | Deleted { "task": Task }. |
Send { "completed": true } to complete a task. If incomplete dependencies prevent completion, Ration returns 409 { "error": "blocked_by_dependency" }. Completing a recurring task may create the next instance automatically.
06
Subtasks and progress
Paths in this table are relative to /apis/v1/tasks.
| Method | Path | Request | Response |
|---|---|---|---|
POST | /:task_id/subtasks | Required title; optional completed. | 201 { "task": Task } |
PUT | /:task_id/subtasks/:id | title and/or completed. | { "task": Task } |
DELETE | /:task_id/subtasks/:id | None | { "task": Task } |
To show progress, use the returned task.subtasks array: completed subtasks divided by total subtasks. Updating a subtask returns the parent task straight away, so you don’t need another read to refresh the tracker.
08
Attach a file
POST /apis/v1/tasks/:task_id/attachments. Send multipart/form-data with one required file part and Accept: application/json. The effective upload limit is 20 MB.
- Success returns
201 { "task": Task }. The task attachment includessecure_id,url,filename,content_typeandsize. DELETE /apis/v1/tasks/:task_id/attachments/:idremoves the attachment and returns the updated task.
09
Task action panel
GET /apis/v1/tasks/:id/panel returns { "panel": { ... } }: compact task data and permissions for a task action panel. It holds the title, description, status, priority, dates, recurrence, an assignee summary, and the can_edit, can_undo and can_open flags.
10
Task folders
Task folders use /apis/v1/task_folders.
| Method | Path | Operation |
|---|---|---|
GET, POST | /task_folders | List or create folders. |
PATCH, PUT, DELETE | /task_folders/:id | Update or delete a folder. |
11
Search tasks
GET /apis/v1/search/tasks uses bearer authentication and the same tenant and shared-task visibility rules as task listing. Send the query and supported search filters as query parameters. The response is the task search result from Ration’s search index.
12
Permissions and errors
| Status | Error / meaning |
|---|---|
401 | Missing or invalid bearer authentication. |
403 | forbidden or workspace_forbidden: the caller lacks the required task capability. |
404 | Task not found or not visible to the caller. |
409 | blocked_by_dependency or another conflict. |
422 | Invalid ID, missing required fields such as title/body, no changes, file too large or invalid task state. |
Owners and delegates can edit task structure. Assignees can update progress and comment where permitted. View-only collaborators can’t change the task.
Last reviewed 27 November 2026.
07
Add a comment
POST /apis/v1/tasks/:task_id/comments.bodyis required. Ration setsauthor_idandauthor_namefrom the authenticated user and returns{ "task": Task }.