Skip to main content

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_.

OperationMethod and pathScope
list-projectsGET /projectsprojects:read
get-projectGET /projects/{projectID}projects:read
list-project-tasksGET /projects/{projectID}/tasksprojects:read
get-project-taskGET /projects/{projectID}/tasks/{taskID}projects:read
list-workspace-project-tasksGET /project-tasksprojects:read
create-projectPOST /projectsprojects:write
update-projectPATCH /projects/{projectID}projects:write
archive-projectPOST /projects/{projectID}/archiveprojects:write
restore-projectPOST /projects/{projectID}/restoreprojects:write
delete-projectDELETE /projects/{projectID}projects:write
create-project-taskPOST /projects/{projectID}/tasksprojects:write
update-project-taskPATCH /projects/{projectID}/tasks/{taskID}projects:write
delete-project-taskDELETE /projects/{projectID}/tasks/{taskID}projects:write
reorder-project-tasksPOST /projects/{projectID}/tasks/reorderprojects: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"
}
  • clientId is required when creating and must name an active client of the workspace (404 CLIENT_NOT_FOUND, or 409 PROJECT_CLIENT_ARCHIVED for an archived one). A project can't be moved to another client.

  • name is required, up to 200 characters; notes is free text up to 4000. Lengths are counted in characters.

  • status is active (the default), on_hold or completed; set it with create-project or update-project. The fourth value, archived, is only reached through archive-project.

  • billingMode is hourly (the default), fixed or retainer. It is informational and changes no calculation.

  • defaultRate is the hourly rate tasks inherit unless they set their own; budgetAmount is an optional money budget; budgetMinutes an optional time budget in whole minutes (up to 100,000,000). All are optional and omitted when not set.

  • Money. Requests send defaultRateMinor and budgetAmountMinor in 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.

  • quoteNumberPattern and invoiceNumberPattern replace 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 returns invalidProjectNumberPattern. Without them the profile's patterns apply.

  • termsOverride is optional: payment terms that replace the client's defaultTerms for 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.

  • dueOn is 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.

  • overdue is read-only and always present: true when dueOn is before today in the workspace's time zone and the project is not completed or archived. 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 409 PROJECT_ARCHIVED until 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 409 PROJECT_IN_USE while 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 (409 CLIENT_IN_USE, details.resource project).

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"
}
  • title is required, up to 200 characters. status is todo (the default), in_progress or done. There are no sub-tasks and no assignees.
  • estimateMinutes is optional, whole minutes.
  • priceMode is hourly (the default) or fixed. price is the hourly rate or, for fixed, the total, sent as priceMinor in the workspace's minor unit. An hourly task without a price uses the project's defaultRate.
  • billable defaults to true.
  • dueOn is 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. overdue is read-only and always present: true when dueOn is before today in the workspace's time zone and the task is not done. See Due dates.
  • Order. list-project-tasks returns every task, ordered by position. A new task goes to the end. reorder-project-tasks takes taskIds, which must name every task of the project exactly once, and returns the tasks in the new order. update-project-task can also set position directly, 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; list estimate, price or dueOn in clear to remove them.
  • Tasks can't be created, changed, reordered or deleted in an archived project (409 PROJECT_ARCHIVED). Deleting a task that business records reference, such as logged time, a quote line priced from it or an invoice line for it, returns 409 PROJECT_TASK_IN_USE.
  • A project that has project expenses, expense transactions linked to it for billing, can't be deleted either (409 PROJECT_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:

Itemoverdue is true when
TaskdueOn is before today and status is not done
ProjectdueOn 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 parameterMeaning
statusRepeatable: todo, in_progress, done. Default: todo and in_progress.
clientIdOnly tasks of this client's projects.
projectIdOnly this project's tasks.
dueoverdue (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).
includeArchivedtrue also lists tasks of archived projects. Default false.
sortdueOn (the only value, and the default).
directionasc (default) or desc.
page, pageSize1-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 returns 422 and names the key.
  • Write: metadata is optional on create and on update. On update the pairs are merged per key: a value sets or overwrites the key, null or "" removes it, {} changes nothing, and "metadata": null removes every key. On create, null and "" values are ignored.
  • Archived projects stay metadata-writable: a request that changes only metadata is accepted where PROJECT_ARCHIVED would refuse any other change.
  • Filter: list-projects takes an exact-match filter written metadata[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) has projects and projectTasks arrays, with amounts in the workspace's minor unit and dueOn as written (left out when not set), and the archive has projects.csv and project-tasks.csv, each ending with a dueOn column (empty when not set). Each record in data.json carries its metadata object (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​

StatusCodeMeaning
402PLAN_FEATURE_REQUIREDThe plan does not include business tools.
404PROJECT_NOT_FOUNDNo such project in this workspace.
404PROJECT_TASK_NOT_FOUNDNo such task in this project.
404CLIENT_NOT_FOUNDThe clientId isn't a client of this workspace.
422invalidPaymentTermsKind, invalidPaymentTermsDays, invalidPaymentTermsDeposit, invalidPaymentTermsTextThe termsOverride breaks the rules in Payment terms.
422validation errordueOn isn't a YYYY-MM-DD date, or a list filter value isn't allowed.
409WORKSPACE_NOT_BUSINESSThe workspace is personal.
409PROJECT_CLIENT_ARCHIVEDThe client is archived. details.clientId repeats it.
409PROJECT_CODE_TAKENAnother project in the workspace uses the code. details.code repeats it.
409PROJECT_CODE_IN_USEA numbered document was built from the project's code, so it can't change.
409PROJECT_ARCHIVEDThe project is archived and read-only. details.projectId repeats it.
409PROJECT_IN_USEBusiness records reference the project or a task, so it can't be deleted.
409PROJECT_TASK_IN_USEBusiness records reference the task, so it can't be deleted.