Developers
Projects & Tasks

Create a project and its tasks

People, project for a customer or a won deal, tasks and sub-tasks, status by category, synchronisation.

Create a project for a customer, its team and its tasks, then move them forward — from an ordering tool, a customer portal or a third-party CRM. Key: projects:write (projects and tasks). The Projects & Tasks module must be in the subscription.

1. People

Manager, members and assignees are workspace accounts or HR employees:

GET/projects/people

curl 'https://quosuite.com/api/public/v1/quosuite/projects/people' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"

kind: user → use in managerId, memberUserIds, assigneeUserIds; kind: employee → in memberEmployeeIds (and the employeeId of time entries).

2. Create the project

POST/projects

# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/projects' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
  -H 'Content-Type: application/json' \
  -d '{
  "name": "BTP Horizon workshop equipment",
  "status": "ACTIVE",
  "partnerId": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",
  "managerId": "aaaaaaaa-0000-4000-8000-0000000000a1",
  "startDate": "2026-11-23",
  "endDate": "2026-12-18",
  "budgetHours": 120,
  "billingType": "TIME_AND_MATERIALS",
  "memberUserIds": [
    "aaaaaaaa-0000-4000-8000-0000000000a2"
  ],
  "memberEmployeeIds": [
    "e1e2e3e4-0000-4000-8000-0000000000e1"
  ],
  "tags": [
    "Installation"
  ]
}'
  • The code (PRJ-0007…) is suggested if omitted; it is unique in the workspace.
  • partnerId must be a customer record (422 PROJECT_PARTNER_NOT_CLIENT). With crmDealId, the deal must be won (PROJECT_DEAL_NOT_WON): its customer, currency and amount (budget) are taken over.
  • The project gets the default columns — to do, in progress, in review, done — in the workspace’s language. Keep columns[].id and members[].id from the response.
  • Depending on the plan, the number of ongoing projects is limited: 402 PLAN_QUOTA_EXCEEDED.

3. Create the tasks

POST/projects/tasks

# One key per operation, reused as is on every retry.
curl -X POST 'https://quosuite.com/api/public/v1/quosuite/projects/tasks' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Idempotency-Key: 3f1c2a9e-5b7d-4e8a-9c1f-2d6b8e4a7c30' \
  -H 'Content-Type: application/json' \
  -d '{
  "projectId": "0a73f78a-fad4-4c93-8dd6-84c05852cb4b",
  "title": "Compressor installation",
  "priority": "HIGH",
  "estimateHours": 12,
  "startDate": "2026-11-30",
  "dueDate": "2026-12-04",
  "labels": [
    "Installation"
  ],
  "assigneeUserIds": [
    "aaaaaaaa-0000-4000-8000-0000000000a2"
  ]
}'

The task gets its key (PRJ-0007-3), enters the first “to do” column (or columnId), and its assignees are notified. With parentId, it is a sub-task (five levels at most). The project’s progress is recomputed.

4. Move a task forward

By column, or more simply by category:

POST/projects/tasks/{id}/move

curl -X POST 'https://quosuite.com/api/public/v1/quosuite/projects/tasks/aac39e3a-0c40-44b2-8697-b597f357c5a9/move' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "category": "DONE"
}'

DONE completes it (completedAt set, project_task.completed event). Possible refusals, as 422 with detail.rule: sub-tasks still open (PROJECT_TASK_OPEN_SUBTASKS), unfinished predecessors if the project enforces dependencies (PROJECT_TASK_BLOCKED). A concurrent move from the board gives 409.

5. Read back

GET/projects/tasks

curl 'https://quosuite.com/api/public/v1/quosuite/projects/tasks?projectId=0a73f78a-fad4-4c93-8dd6-84c05852cb4b&category=TODO,IN_PROGRESS' \
  -H "Authorization: Bearer $QUOSUITE_API_KEY"

For an incremental sync: updatedSince and sort=updatedAt, with a cursor (limit=100).