Move a project to another workflow
curl --request POST \ --url https://example.com/api/v1/projects/example/workflow \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "fingerprint": "example", "mapping": { "additionalProperty": "example" }, "workflowId": "example" }'Moves the project to another workflow after its preview: every task, subtasks included, takes the mapped status of the new workflow, with one activity entry per task, the project’s delegation stages and saved view filters follow, and the project’s activity records the change. Send the same workflowId and mapping as the preview, with its fingerprint; a stale fingerprint or a blocker answers 422. Requires the projects.manage permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Request Body
Section titled “Request Body”object
The fingerprint of the preview; the change is refused when the project or the mapping changed since.
Statuses mapped by hand, keyed by the id of a status the project’s tasks hold, each to a status of the target workflow by id or name. A status left out maps automatically: the one with the same name, then the first of the nearest category.
object
The workflow the project moves to, from GET /workflows.
Example generated
{ "fingerprint": "example", "mapping": { "additionalProperty": "example" }, "workflowId": "example"}Responses
Section titled “Responses”How many tasks moved and the project’s workflow now.
object
object
object
Example generated
{ "data": { "movedTasks": 1, "workflow": { "id": "example", "name": "example" } }}Validation error. Parse failures include field paths and expectations.
Validation error with safe field paths and expected values; submitted values are never returned.
object
object
Stable machine-readable error code.
object
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Forbidden.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Not found.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}The preview has blockers or is stale.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC