Projects and tasks
A project is work a business workspace does for one client.
Its tasks are the pieces of that work; later they price quote lines and carry
logged time. Projects exist only in business workspaces:
every operation below returns 409 WORKSPACE_NOT_BUSINESS in a personal
workspace. They are part of the Solo Business plan.
All paths are under /v1/workspaces/{workspaceID}. Project IDs start with
prj_, task IDs with ptsk_.
| Operation | Method and path | Scope |
|---|---|---|
list-projects | GET /projects | projects:read |
get-project | GET /projects/{projectID} | projects:read |
list-project-tasks | GET /projects/{projectID}/tasks | projects:read |
get-project-task | GET /projects/{projectID}/tasks/{taskID} | projects:read |
list-workspace-project-tasks | GET /project-tasks | projects:read |
create-project | POST /projects | projects:write |
update-project | PATCH /projects/{projectID} | projects:write |
archive-project | POST /projects/{projectID}/archive | projects:write |
restore-project | POST /projects/{projectID}/restore | projects:write |
delete-project | DELETE /projects/{projectID} | projects:write |
create-project-task | POST /projects/{projectID}/tasks | projects:write |
update-project-task | PATCH /projects/{projectID}/tasks/{taskID} | projects:write |
delete-project-task | DELETE /projects/{projectID}/tasks/{taskID} | projects:write |
reorder-project-tasks | POST /projects/{projectID}/tasks/reorder | projects:write |
The projects:write scope is not offered to connected apps (OAuth or MCP
clients), even with read and write access; projects:read is. See
Scopes.
Writes need the role editor, admin or owner; deleting a project needs admin or owner. Viewers can read.
The project object
{
"id": "prj_...",
"clientId": "cli_...",
"name": "Website redesign",
"code": "WEB",
"status": "active",
"billingMode": "fixed",
"defaultRate": { "minor": 12550, "display": "$125.50" },
"budgetAmount": { "minor": 500000, "display": "$5,000.00" },
"budgetMinutes": 2400,
"quoteNumberPattern": "Q-{PROJECT}-{NNN}",
"invoiceNumberPattern": null,
"termsOverride": {
"kind": "due_on_receipt",
"days": 0,
"label": { "key": "systemText.paymentTerms.dueOnReceipt", "text": "Due on receipt" }
},
"dueOn": "2026-12-15",
"overdue": false,
"notes": "",
"metadata": { "external_id": "ABC-123" },
"createdAt": "2026-11-12T10:00:00Z",
"updatedAt": "2026-11-12T10:00:00Z"
}
-
clientIdis required when creating and must name an active client of the workspace (404CLIENT_NOT_FOUND, or409PROJECT_CLIENT_ARCHIVEDfor an archived one). A project can't be moved to another client. -
nameis required, up to 200 characters;notesis free text up to 4000. Lengths are counted in characters. -
statusisactive(the default),on_holdorcompleted; set it withcreate-projectorupdate-project. The fourth value,archived, is only reached througharchive-project. -
billingModeishourly(the default),fixedorretainer. It is informational and changes no calculation. -
defaultRateis the hourly rate tasks inherit unless they set their own;budgetAmountis an optional money budget;budgetMinutesan optional time budget in whole minutes (up to 100,000,000). All are optional and omitted when not set. -
Money. Requests send
defaultRateMinorandbudgetAmountMinorin the workspace's minor unit (cents at currency precision 2, like every other amount in the API); responses return{ minor, display }. Amounts can't be negative and are range-checked (amountOutOfRange). Amounts are stored with four decimal places internally. -
quoteNumberPatternandinvoiceNumberPatternreplace the business profile's numbering pattern for this project's quotes and invoices. They use the same grammar as the business profile's patterns (see Business Profile and Document Numbering), and a pattern that grammar rejects returnsinvalidProjectNumberPattern. Without them the profile's patterns apply. -
termsOverrideis optional: payment terms that replace the client'sdefaultTermsfor this project's invoices. The object and its rules are described under Payment terms on the client page. It is left out of the response when the project inherits its client's terms. On update it replaces the whole object; send"clear": ["termsOverride"]to go back to inheriting. -
dueOnis an optional due date, a calendar date (YYYY-MM-DD) in the workspace's time zone. It may be in the past, and it is left out of the response when not set. See Due dates. -
overdueis read-only and always present:truewhendueOnis before today in the workspace's time zone and the project is notcompletedorarchived. It is never stored and can't be sent.
On update-project, fields left out are unchanged. To remove an optional value,
list it in clear: code, defaultRate, budgetAmount, budgetMinutes,
quoteNumberPattern, invoiceNumberPattern, termsOverride or dueOn.
list-projects takes clientId, name (case-insensitive substring), status
(active, on_hold, completed, archived or all; left out, archived
projects are not listed), page and pageSize (default 100, max 1000) and
returns { projects, total, page, pageSize }, ordered by name.
Short code
code is optional. When set it is 2 to 8 letters or digits, stored in upper
case, and unique within the workspace (409 PROJECT_CODE_TAKEN); it fills the
{PROJECT} placeholder of document numbers (the same short-code rule as in the
numbering grammar). A document-number sequence can be scoped to a project, and
archived projects stay addressable for that. Projects without a code never
conflict with each other. Archived projects keep their code, so a code can't be
reused while an archived project holds it. Codes are unique per workspace, not
across workspaces.
A project's code can't be changed or removed once documents carry a number built
from it, that is, once the project has a sent quote or an
issued invoice (a voided one keeps its number):
409 PROJECT_CODE_IN_USE, with details.resource naming the kind of record.
A draft quote has no number yet and doesn't block it, so a project with a missing
code can still be given one. Everything else stays editable.
Archiving and deleting
- Archive makes the project read-only: updating it or changing its tasks
returns
409PROJECT_ARCHIVEDuntil it is restored. It stays readable, keeps its code, and is left out of the default list. Archiving an archived project changes nothing. - Restore brings an archived project back as
active. Restoring a project that isn't archived changes nothing. - Delete (owners and admins) removes the project and its tasks for good. It
is refused with
409PROJECT_IN_USEwhile business records reference the project or one of its tasks, quotes and invoices (drafts included) among them; archive the project instead. - A client with projects can't be deleted (
409CLIENT_IN_USE,details.resourceproject).
Tasks
{
"id": "ptsk_...",
"projectId": "prj_...",
"title": "Wireframes",
"status": "todo",
"estimateMinutes": 90,
"priceMode": "hourly",
"price": { "minor": 9000, "display": "$90.00" },
"billable": true,
"position": 0,
"dueOn": "2026-12-01",
"overdue": false,
"createdAt": "2026-11-12T10:00:00Z",
"updatedAt": "2026-11-12T10:00:00Z"
}
titleis required, up to 200 characters.statusistodo(the default),in_progressordone. There are no sub-tasks and no assignees.estimateMinutesis optional, whole minutes.priceModeishourly(the default) orfixed.priceis the hourly rate or, forfixed, the total, sent aspriceMinorin the workspace's minor unit. An hourly task without a price uses the project'sdefaultRate.billabledefaults totrue.dueOnis an optional due date, a calendar date (YYYY-MM-DD) in the workspace's time zone; it may be in the past and is left out of the response when not set.overdueis read-only and always present:truewhendueOnis before today in the workspace's time zone and the task is notdone. See Due dates.- Order.
list-project-tasksreturns every task, ordered byposition. A new task goes to the end.reorder-project-taskstakestaskIds, which must name every task of the project exactly once, and returns the tasks in the new order.update-project-taskcan also setpositiondirectly, which moves that one task without renumbering the others. - A project holds up to 1,000 tasks (
tooManyProjectTasks). - On
update-project-task, fields left out are unchanged; listestimate,priceordueOninclearto remove them. - Tasks can't be created, changed, reordered or deleted in an archived project
(
409PROJECT_ARCHIVED). Deleting a task that business records reference, such as logged time, a quote line priced from it or an invoice line for it, returns409PROJECT_TASK_IN_USE. - A project that has project expenses, expense
transactions linked to it for billing, can't be deleted either
(
409PROJECT_IN_USE); delete the links or archive the project.
Due dates
Projects and tasks can carry an optional dueOn, a calendar date in the
workspace's time zone (no time of day). Send it as YYYY-MM-DD on create or
update; a value that isn't a real calendar date returns 422. Unlike a quote's
valid-until date, a due date in the past is accepted. To remove one, list
dueOn in clear; leaving it out of an update keeps it.
overdue is computed on the server on every read, in the workspace's time zone,
so every client agrees whatever its own time zone is:
| Item | overdue is true when |
|---|---|
| Task | dueOn is before today and status is not done |
| Project | dueOn is before today and status is not completed or archived |
A task due today is not overdue until the workspace's day ends.
Tasks across projects
list-workspace-project-tasks (GET /v1/workspaces/{workspaceID}/project-tasks,
scope projects:read) lists the tasks of every project in the workspace in one
paginated list, for a to-do view across clients. Like the other reads it stays
available after a downgrade. To change a task, use update-project-task with
the projectId the row carries, so archived-project and plan rules apply in one
place.
| Query parameter | Meaning |
|---|---|
status | Repeatable: todo, in_progress, done. Default: todo and in_progress. |
clientId | Only tasks of this client's projects. |
projectId | Only this project's tasks. |
due | overdue (due before today, not done), next_7_days (due from today through today + 6 days, in the workspace time zone) or none (no due date). |
includeArchived | true also lists tasks of archived projects. Default false. |
sort | dueOn (the only value, and the default). |
direction | asc (default) or desc. |
page, pageSize | 1-based page and size (default 100, max 1000). |
Tasks are ordered by dueOn (those without one always last, in both
directions), then project name, task position and task ID, so the order is
stable. The response is { tasks, total, page, pageSize }. Each task has every
field of the task object plus its project and client:
{
"id": "ptsk_...",
"projectId": "prj_...",
"projectName": "Website redesign",
"projectCode": "WEB",
"projectStatus": "active",
"clientId": "cli_...",
"clientName": "Acme Design Studio",
"title": "Wireframes",
"status": "todo",
"dueOn": "2026-12-01",
"overdue": false,
"priceMode": "hourly",
"billable": true,
"position": 0,
"createdAt": "2026-11-12T10:00:00Z",
"updatedAt": "2026-11-12T10:00:00Z"
}
projectCode is left out when the project has no code. A filter value that is
not allowed returns 422; an ID from another workspace matches nothing. The
operation returns 409 WORKSPACE_NOT_BUSINESS in a personal workspace.
Metadata
A project carries your own key/value pairs in a metadata object, always present and {} when empty,
for an external ID or any other reference from your own systems. It is internal: it is never
printed on a document, snapshot, share link or email. The rules are the same for every record and
are described once under Metadata.
- Limits: at most 50 keys. A key is 1 to 40 characters from
A-Z a-z 0-9 _ . -, a value 1 to 500 characters. A request that breaks a limit returns422and names the key. - Write:
metadatais optional on create and on update. On update the pairs are merged per key: a value sets or overwrites the key,nullor""removes it,{}changes nothing, and"metadata": nullremoves every key. On create,nulland""values are ignored. - Archived projects stay metadata-writable: a request that changes only
metadatais accepted wherePROJECT_ARCHIVEDwould refuse any other change. - Filter:
list-projectstakes an exact-match filter writtenmetadata[key]=value. Several keys are AND-ed (at most 10), and it combines with the other filters:
GET /v1/workspaces/{workspaceID}/projects?metadata[external_id]=ABC-123
- Access: the same scopes, role rules and plan feature as the rest of the record. No new scope.
Plan and downgrades
Projects and tasks need a plan that includes business tools (Solo Business).
Creating, updating, archiving, restoring and deleting return 402
PLAN_FEATURE_REQUIRED otherwise. Reading stays possible after a downgrade, so
existing data is never hidden. Projects have no count limit of their own. While
an account is over another plan limit (for example clients) it is read-only
(423 plan_limits_exceeded) and project changes are refused too.
Workspace conversion, backup, export and clone
- A business workspace with clients can't be converted back to personal, and every project has a client.
- Projects and tasks are part of workspace backups. A backup that holds projects can only be restored into a business workspace; restored projects and tasks get new IDs and keep their client, rates, budgets, codes, due dates and order. A backup made before due dates existed restores with no due dates.
- The data export (
data.json) hasprojectsandprojectTasksarrays, with amounts in the workspace's minor unit anddueOnas written (left out when not set), and the archive hasprojects.csvandproject-tasks.csv, each ending with adueOncolumn (empty when not set). Each record indata.jsoncarries itsmetadataobject (always present,{}when empty; an additive field of format version 1). Backups and clones carry metadata too. - Cloning a business workspace copies its projects and tasks, with their due dates, linked to the clone's own clients.
Events
Each change publishes an event in the same transaction:
project.created, project.updated (with changes for name, code and
status), project.archived, project.restored, project.deleted,
project_task.created, project_task.updated (with changes for title and
status), project_task.deleted and project_task.reordered. They carry
identifiers, names, codes, statuses, due dates (due_on, left out when not
set) and, for projects, metadata, and no notes, rates or budgets. They are public webhook events: subscribe to them (or to project.* and project_task.*) on a webhook endpoint (see Webhook events), and read them from event history and the event stream. Reading them needs the projects:read scope in addition to events:read (event history and stream) or webhooks:read (the event catalog).
Errors
| Status | Code | Meaning |
|---|---|---|
402 | PLAN_FEATURE_REQUIRED | The plan does not include business tools. |
404 | PROJECT_NOT_FOUND | No such project in this workspace. |
404 | PROJECT_TASK_NOT_FOUND | No such task in this project. |
404 | CLIENT_NOT_FOUND | The clientId isn't a client of this workspace. |
422 | invalidPaymentTermsKind, invalidPaymentTermsDays, invalidPaymentTermsDeposit, invalidPaymentTermsText | The termsOverride breaks the rules in Payment terms. |
422 | validation error | dueOn isn't a YYYY-MM-DD date, or a list filter value isn't allowed. |
409 | WORKSPACE_NOT_BUSINESS | The workspace is personal. |
409 | PROJECT_CLIENT_ARCHIVED | The client is archived. details.clientId repeats it. |
409 | PROJECT_CODE_TAKEN | Another project in the workspace uses the code. details.code repeats it. |
409 | PROJECT_CODE_IN_USE | A numbered document was built from the project's code, so it can't change. |
409 | PROJECT_ARCHIVED | The project is archived and read-only. details.projectId repeats it. |
409 | PROJECT_IN_USE | Business records reference the project or a task, so it can't be deleted. |
409 | PROJECT_TASK_IN_USE | Business records reference the task, so it can't be deleted. |