Skip to content

Update a project

PATCH
/projects/{id}
Code sample: Shell / cURL
curl --request PATCH \
--url https://example.com/api/v1/projects/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "aliases": [ "example" ], "businessStatusId": "example", "clientId": "example", "code": "example", "color": "example", "defaultBillingRateType": "NONE", "defaultHourlyRate": 1, "defaultTimeOrderId": "example", "description": "example", "endDate": "example", "icon": "example", "name": "example", "prefix": "example", "primaryUrl": "https://example.com", "startDate": "example", "status": "ACTIVE", "typeId": "example" }'

Updates project fields, including the project’s business identity fields (description accepts Markdown and is returned as Markdown plus descriptionHtml). Sending status triggers the matching transition (ARCHIVED archives, COMPLETED completes, ACTIVE restores) after the other fields of the same call are saved, so a call with status and a description applies both; a refused field leaves the status as it was, and a status the project cannot take (archiving or completing a personal project) is refused with 422 before any field is saved. ACTIVE on an archived project starts it: when its business status reads as closed, it takes the default open one, unless the same call sends businessStatusId. A clientId change is rejected with 409 while the project has linked orders or invoice lines. Requires the projects.manage permission.

id
required

Resource identifier (CUID2).

string
>= 1 characters

Resource identifier (CUID2).

Media typeapplication/json
object
aliases
Array<string>
businessStatusId
string | null
clientId
string | null
code
string | null
color
string
defaultBillingRateType

Kept for compatibility only: it no longer prices orders, which take their company’s rate.

Any of:
string
Allowed values: NONE ORDER MEMBER ACTIVITY_TYPE
defaultHourlyRate

Kept for compatibility only: it no longer prices orders, which take their company’s rate.

Any of:
number
defaultTimeOrderId

Order preselected when logging time against a task in this project; must belong to the workspace. Omit to leave it untouched; send null to clear it.

string | null
description

Project description as Markdown, or null to clear it. GitHub-Flavored Markdown, converted to sanitized HTML for storage. Survives the round trip: headings (the web editor edits h1-h2 and demotes deeper levels to paragraphs), bold, italic, strikethrough, underline as , inline code, fenced code blocks with a language, links, bullet, numbered and nested lists, task lists, blockquotes, horizontal rules, hard line breaks, tables with header rows (merged cells and complex tables use sanitized inline HTML), images served from /api/v1/files/, member mentions written as @Name, and a Loom, Cap (cap.so or the organization’s own Cap server), Figma, YouTube, Google Docs or GitHub pull-request link standing alone in its paragraph, which becomes an embed. Inline HTML passes through the same sanitizer as the editor. Lost: external image URLs (dropped by the sanitizer), link titles, text alignment.

string | null
endDate

ISO 8601 date-time.

string | null
icon
string | null
name
string
>= 1 characters <= 200 characters
prefix
Any of:
string
<= 10 characters
primaryUrl
Any of:
string format: uri
startDate

ISO 8601 date-time.

string | null
status
string
Allowed values: ACTIVE COMPLETED ARCHIVED
typeId
string | null

The updated project.

Media typeapplication/json
object
data
required

A project grouping tasks into views and workflow statuses.

object
_count

Relation counts. Present on list and detail reads; absent on create/update responses.

object
members
integer
>= -9007199254740991 <= 9007199254740991
tasks
required
integer
>= -9007199254740991 <= 9007199254740991
aliases
required

Alternate names this project is also known by. Used for search/matching only (D-19).

Array<string>
businessStatus

Present on list reads (which join the catalog); absent on get/create/update responses, which only carry businessStatusId.

Any of:
object
category
required

Status category: active, paused, or closed.

string
color
required
string
id
required
string
name
required
string
businessStatusId
required
string | null
clientId
required
string | null
code
required

Short code for order headers and URLs.

string | null
color
required
string
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
defaultBillingRateType
required

One of NONE, ORDER, MEMBER, ACTIVITY_TYPE. Kept for compatibility only: it no longer prices orders, which take their company’s rate.

string | null
defaultHourlyRate

Kept for compatibility only: it no longer prices orders, which take their company’s rate. Absent when the caller lacks invoices.view.

number | null
defaultTimeOrderId
required

Order preselected when logging time against a task in this project.

string | null
description
required

Project description as Markdown. Markdown rendering of the stored rich text: mentions appear as @Name links and embeds as plain links to their source URL. The stored HTML is returned alongside in the matching *Html field.

string | null
descriptionHtml
required

The stored sanitized HTML behind description.

string | null
endDate
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
icon
required
string | null
id
required
string
name
required
string
prefix
required

Short task-key prefix.

string | null
primaryUrl
required

The project’s canonical URL.

string | null
startDate
required
Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
status
required

Project status. One of: ACTIVE, COMPLETED, ARCHIVED.

string
type

Present on list reads (which join the catalog); absent on get/create/update responses, which only carry typeId.

Any of:
object
color
required
string
id
required
string
name
required
string
typeId
required
string | null
updatedAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/

Example generated

{
"data": {
"_count": {
"members": 1,
"tasks": 1
},
"aliases": [
"example"
],
"businessStatus": {
"category": "example",
"color": "example",
"id": "example",
"name": "example"
},
"businessStatusId": "example",
"clientId": "example",
"code": "example",
"color": "example",
"createdAt": "2026-04-15T12:00:00Z",
"defaultBillingRateType": "example",
"defaultHourlyRate": 1,
"defaultTimeOrderId": "example",
"description": "example",
"descriptionHtml": "example",
"endDate": "2026-04-15T12:00:00Z",
"icon": "example",
"id": "example",
"name": "example",
"prefix": "example",
"primaryUrl": "example",
"startDate": "2026-04-15T12:00:00Z",
"status": "example",
"type": {
"color": "example",
"id": "example",
"name": "example"
},
"typeId": "example",
"updatedAt": "2026-04-15T12:00:00Z"
}
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Not found.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Conflict.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Invalid input.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.