Update project
const url = 'https://app.buildworkpro.com/api/v1/projects/1';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"name":"example","projectNumber":"example","contactId":1,"projectType":"example","status":"planning","priority":"example","startDate":"2026-04-15T12:00:00Z","expectedEndDate":"2026-04-15T12:00:00Z","actualEndDate":"2026-04-15T12:00:00Z","originalContractValue":"example","contractValue":"example","description":"example","siteAddress":"example","siteCity":"example","siteState":"example","siteZipCode":"example","architectName":"example","architectProjectNumber":"example","contractFor":"example","assignedTo":1,"bidId":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://app.buildworkpro.com/api/v1/projects/1 \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "projectNumber": "example", "contactId": 1, "projectType": "example", "status": "planning", "priority": "example", "startDate": "2026-04-15T12:00:00Z", "expectedEndDate": "2026-04-15T12:00:00Z", "actualEndDate": "2026-04-15T12:00:00Z", "originalContractValue": "example", "contractValue": "example", "description": "example", "siteAddress": "example", "siteCity": "example", "siteState": "example", "siteZipCode": "example", "architectName": "example", "architectProjectNumber": "example", "contractFor": "example", "assignedTo": 1, "bidId": 1 }'Partially updates a project. Passing bidId links (or, with null, unlinks) an existing bid — see the field.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Header Parameters
Section titled “ Header Parameters ”Idempotent retry key for mutating operations. The first request with a given key executes normally and BuildWorkPro caches the response. Replaying the same key with the same request body (method + path + JSON body, SHA-256 hashed) returns the cached response without re-executing the mutation. Replaying with a DIFFERENT body returns 409 idempotency_key_reused. The cache TTL is 24 hours; after expiry the key is treated as a new operation. Keys are tenant-scoped. Recommended: a fresh UUID v4 per logical operation.
Request Body
Section titled “ Request Body ”object
Architect or engineer of record; printed in the pay application’s “Via architect / engineer” cell.
The architect’s own project number, printed on the pay application and its continuation sheet.
Scope line printed in the pay application’s “Contract for” cell (e.g. “Structural steel — Phase 2”).
Link an existing bid to this project (both sides), or null to unlink. Requires the bids:write scope too. Refused with 409 when the bid already belongs to another live project or this project already has a different bid — unlink first. Linking an accepted bid fills the original contract (pre-tax) and site address only if the project has none.
Responses
Section titled “ Responses ”Updated
object
object
Read-only. Present on GET /projects/{id}. True for the onboarding practice project a user starts from the setup wizard — demo content that “Clear sample data” removes; false for every other project.
object
Server-generated request identifier
object
Opaque cursor for the next page; null when no more results
Whether more pages are available after this one
Items in this page
Example generated
{ "data": { "id": 1, "name": "example", "projectNumber": "example", "contactId": 1, "bidId": 1, "projectType": "example", "status": "example", "priority": "example", "startDate": "2026-04-15T12:00:00Z", "expectedEndDate": "2026-04-15T12:00:00Z", "actualEndDate": "2026-04-15T12:00:00Z", "contractValue": "example", "originalContractValue": "example", "description": "example", "siteAddress": "example", "siteCity": "example", "siteState": "example", "siteZipCode": "example", "architectName": "example", "architectProjectNumber": "example", "contractFor": "example", "assignedTo": 1, "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "isPractice": true }, "meta": { "request_id": "example", "pagination": { "cursor": "example", "has_more": true, "count": 1 } }}Scope insufficient, or no access to the project or bid
object
URL identifying the problem type
Short human-readable summary
HTTP status code
Human-readable explanation
Server-generated request identifier
Validation error array (422 only)
object
Field path that failed validation
Validation error code
Human-readable validation message
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}Not found
object
URL identifying the problem type
Short human-readable summary
HTTP status code
Human-readable explanation
Server-generated request identifier
Validation error array (422 only)
object
Field path that failed validation
Validation error code
Human-readable validation message
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}The bid is linked to another live project, or this project already has a different bid
object
URL identifying the problem type
Short human-readable summary
HTTP status code
Human-readable explanation
Server-generated request identifier
Validation error array (422 only)
object
Field path that failed validation
Validation error code
Human-readable validation message
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}Validation failed
object
URL identifying the problem type
Short human-readable summary
HTTP status code
Human-readable explanation
Server-generated request identifier
Validation error array (422 only)
object
Field path that failed validation
Validation error code
Human-readable validation message
Example generated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}