agency-time

PATCH /v1/agency/time/projects/{projectId}

Rename, re-assign or archive a project.

All agency-time endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The endpoint checks agency.time.manage; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X PATCH https://api.zinndigital.com/v1/agency/time/projects/{projectId} \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{  }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

⛔ Archiving hides a project from the pickers; it never deletes it. Time already logged against it stays on the timesheet and on any invoice it reached, because a project is part of how that money was arrived at. Changing client_id re-points FUTURE work only — an entry denormalises its client at creation, so hours already logged stay attributed to the client they were done for.

Parameters

NameTypeRequiredWhat it is
projectId (path)stringYes—

Request body

NameTypeRequiredWhat it is
namestringNo—
client_idstringNo—
board_idstringNo—
currencystringNo—
archivedbooleanNo—

Response

NameTypeRequiredWhat it is
idstringYes—
namestringYes—
client_idstringYesThe agency's client this work is for, in the agency invoicing suite. null means internal work — reported on, never invoiced.
board_idstringYesThe agency project board this work is run on, when there is one.
source_quote_idstringNoThe free-quote request this project was started from (docs/670 §2), or null for a project made by hand. At most one project per quote.
currencystringYesISO currency this project's work is billed in. On the project because an invoice has exactly one currency; a rate card in another currency is refused rather than converted.
archivedbooleanYes—
created_atstringYes—

Errors this endpoint can return

401 · 403 · 404 · 422