Project sections
A project’s task board is split into sections, such as To do, In progress and Done. Each section holds the project’s tasks in board order; sections are shown left to right (or top to bottom in the list view) in the order of their position.
Who can use it
Section titled “Who can use it”Reading sections needs the permission to view projects, and covers only the projects the person can see (administrators see every project; a member or manager sees the business’s public projects and the private projects they are on; see Projects). Client portal users are always refused. Adding a section needs the permission to create sections. Renaming, moving, archiving and restoring a section need the permission to edit sections. Deleting a section deletes its tasks too, so it needs the permission to delete tasks. Administrators hold every permission; the built-in Member and Manager profiles hold all four by default. Nothing in a section is hidden from someone who may see the project. A person without the permission an endpoint needs gets 403.
The section object
Section titled “The section object”One section of a project’s task board.
| Field | Type | Description |
|---|---|---|
id |
string | The section’s id. Read only. |
name |
string | Section name, 1–255 characters, unique within the project. |
project |
object | The project the section belongs to: { id, name, code }. Read only. |
position |
integer | Where the section sits on the board, counting from 1 at the left. Archived sections keep their position. |
taskCount |
integer | How many tasks are in the section, archived tasks left out. Subtasks are not counted. Read only. |
completedTaskCount |
integer | How many of those tasks are completed. Read only. |
isCompletedTasksSection |
boolean | True when this is the section the project’s Mark as complete action moves completed tasks into. At most one section of a project has it; it is chosen in the project’s settings. Read only. |
isArchived |
boolean | True when the section is archived: it and the tasks it archived with it are off the board, kept and restorable. |
archivedAt |
datetime | When the section was archived. Null when it is not archived. Read only. Can be null. |
createdAt |
datetime | When the section was created. Read only. |
updatedAt |
datetime | When the section last changed. Adding, editing or moving a task does not change it. Read only. |
Endpoints
Section titled “Endpoints”List sections
Section titled “List sections”Returns the project’s sections in board order. Archived sections are left out unless asked for.
GET /v1/projects/:id/sectionsParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The project’s id. |
page |
query | integer | No | Page number, from 1. Default 1. |
limit |
query | integer | No | Rows per page. Default 20, at most 1000. |
search |
query | string | No | Only sections whose name contains this text. |
isArchived |
query | boolean | No | false (default): current sections only; true: archived sections only. |
updatedSince |
query | datetime | No | Only records changed at or after this moment. Records deleted since then are not reported. |
sortField |
query | string | No | position (default), name, createdAt or updatedAt. |
sortOrder |
query | string | No | asc (default) or desc. |
Rules
403when the person may not view projects, or is a client portal user.404when the project does not exist in this business or the person cannot see it.
Example request
curl "https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections?limit=2" \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections?limit=2", { headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "data": [ { "id": "cm2a3b4c50040uv08d1e2f3gf", "name": "To do", "project": { "id": "cm1d4e5f60023rs08a1b2c3dd", "name": "Website relaunch", "code": "103" }, "position": 1, "taskCount": 9, "completedTaskCount": 0, "isCompletedTasksSection": false, "isArchived": false, "archivedAt": null, "createdAt": "2026-08-28T09:20:40.902Z", "updatedAt": "2026-08-28T09:20:40.902Z" }, { "id": "cm2a3b4c50041uv08d1e2f3gg", "name": "In progress", "project": { "id": "cm1d4e5f60023rs08a1b2c3dd", "name": "Website relaunch", "code": "103" }, "position": 2, "taskCount": 14, "completedTaskCount": 3, "isCompletedTasksSection": false, "isArchived": false, "archivedAt": null, "createdAt": "2026-08-28T09:20:41.118Z", "updatedAt": "2026-11-03T15:02:19.770Z" } ], "totalCount": 4, "page": 1, "limit": 2}Get a section
Section titled “Get a section”Returns one section of the project, archived or not.
GET /v1/projects/:id/sections/:sectionIdParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The project’s id. |
sectionId |
path | string | Yes | The section’s id. |
Rules
403when the person may not view projects, or is a client portal user.404when the project does not exist in this business or the person cannot see it.404when the section is not one of this project’s sections.
Example request
curl "https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections/cm2a3b4c50041uv08d1e2f3gg" \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections/cm2a3b4c50041uv08d1e2f3gg", { headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "data": { "id": "cm2a3b4c50041uv08d1e2f3gg", "name": "In progress", "project": { "id": "cm1d4e5f60023rs08a1b2c3dd", "name": "Website relaunch", "code": "103" }, "position": 2, "taskCount": 14, "completedTaskCount": 3, "isCompletedTasksSection": false, "isArchived": false, "archivedAt": null, "createdAt": "2026-08-28T09:20:41.118Z", "updatedAt": "2026-11-03T15:02:19.770Z" }}Add a section
Section titled “Add a section”Adds a section to the project’s board, at the right-hand end unless position says otherwise. The new section is empty.
POST /v1/projects/:id/sectionsParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The project’s id. |
name |
body | string | Yes | Section name, 1–255 characters, unique within the project. |
position |
body | integer | No | Where to put the section, counting from 1 at the left. Sections from that place on move one to the right. Leave out to add it at the end. |
Rules
403when the person may not create sections, or is a client portal user.404when the project does not exist in this business or the person cannot see it.400when the name is empty or longer than 255 characters, or position is not a whole number of 1 or more.409when the project already has a section with that name, archived sections included.- Answers 201 with the new section.
Example request
curl "https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections" \ -X POST \ -H "X-API-Key: $ONESUITE_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name":"Client review"}'const response = await fetch("https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections", { method: "POST", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, "Content-Type": "application/json", }, body: JSON.stringify({ name: "Client review", }),});const data = await response.json();Example response — status 201
{ "data": { "id": "cm2a3b4c50042uv08d1e2f3gh", "name": "Client review", "project": { "id": "cm1d4e5f60023rs08a1b2c3dd", "name": "Website relaunch", "code": "103" }, "position": 5, "taskCount": 0, "completedTaskCount": 0, "isCompletedTasksSection": false, "isArchived": false, "archivedAt": null, "createdAt": "2026-11-20T10:41:07.315Z", "updatedAt": "2026-11-20T10:41:07.315Z" }}Update a section
Section titled “Update a section”Changes the fields sent and leaves the rest as they are: rename the section, move it to another position on the board, or archive or restore it. Archiving a section also archives its current tasks; restoring it brings back exactly those tasks, while a task that was archived on its own stays archived. A request that changes nothing saves nothing and answers 200.
PATCH /v1/projects/:id/sections/:sectionIdParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The project’s id. |
sectionId |
path | string | Yes | The section’s id. |
name |
body | string | No | New name, 1–255 characters, unique within the project. |
position |
body | integer | No | New place on the board, counting from 1 at the left. The sections in between shift by one. A number past the end puts the section last. |
isArchived |
body | boolean | No | true archives the section with its current tasks; false restores it. |
Rules
403when the person may not edit sections, or is a client portal user.404when the project does not exist in this business or the person cannot see it.404when the section is not one of this project’s sections.400when the body is empty, the name is empty or longer than 255 characters, or position is not a whole number of 1 or more.409when another section of the project already has the new name.
Example request
curl "https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections/cm2a3b4c50041uv08d1e2f3gg" \ -X PATCH \ -H "X-API-Key: $ONESUITE_TOKEN" \ -H "Content-Type: application/json" \ -d '{"name":"Doing","position":3}'const response = await fetch("https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections/cm2a3b4c50041uv08d1e2f3gg", { method: "PATCH", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, "Content-Type": "application/json", }, body: JSON.stringify({ name: "Doing", position: 3, }),});const data = await response.json();Example response — status 200
{ "data": { "id": "cm2a3b4c50041uv08d1e2f3gg", "name": "Doing", "project": { "id": "cm1d4e5f60023rs08a1b2c3dd", "name": "Website relaunch", "code": "103" }, "position": 3, "taskCount": 14, "completedTaskCount": 3, "isCompletedTasksSection": false, "isArchived": false, "archivedAt": null, "createdAt": "2026-08-28T09:20:41.118Z", "updatedAt": "2026-11-20T10:44:52.006Z" }}Delete a section
Section titled “Delete a section”Deletes the section together with every task and subtask in it, archived ones included, with their comments and attachments. This cannot be undone; archive the section instead to keep its tasks. Time already logged against those tasks is kept on the project, with no task.
DELETE /v1/projects/:id/sections/:sectionIdParameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | Yes | The project’s id. |
sectionId |
path | string | Yes | The section’s id. |
Rules
403when the person may not delete tasks, or is a client portal user.404when the project does not exist in this business or the person cannot see it.404when the section is not one of this project’s sections.- Only the section is deleted: the project and its other sections are untouched.
Example request
curl "https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections/cm2a3b4c50042uv08d1e2f3gh" \ -X DELETE \ -H "X-API-Key: $ONESUITE_TOKEN"const response = await fetch("https://api.onesuite.io/v1/projects/cm1d4e5f60023rs08a1b2c3dd/sections/cm2a3b4c50042uv08d1e2f3gh", { method: "DELETE", headers: { "X-API-Key": process.env.ONESUITE_TOKEN, },});const data = await response.json();Example response — status 200
{ "message": "Section deleted"}