Set a project's delegation status mapping
curl --request PUT \ --url https://example.com/api/v1/projects/example/delegation-statuses \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "done": "example", "review": "example", "waiting": "example", "working": "example" }'Sets the status each stage moves a delegated ticket to; a stage left out keeps its status and null unmaps it, so the ticket stays where it is at that stage. Refused with 422 for a status of another project or one status given to two stages. Once saved, the default rule no longer changes the mapping. Requires projects.manage and a project the caller reaches.
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
Project status the ticket moves to when the delegation is approved; null unmaps it, omitted keeps it
Project status the ticket moves to when the delegation is delivered for review; null unmaps it, omitted keeps it
Project status the ticket moves to when the delegation waits for an answer; null unmaps it, omitted keeps it
Project status the ticket moves to when the delegation starts or resumes the work; null unmaps it, omitted keeps it
Example generated
{ "done": "example", "review": "example", "waiting": "example", "working": "example"}Responses
Section titled “Responses”The mapping after the save.
object
Which project status each stage of a delegation moves the ticket to.
object
The status each stage moves the ticket to
object
Status once the delivery is approved
Status while a person reviews the delivery
Status while the agent waits for an answer
Status for the agent working on the ticket
The statuses of the project’s workflow, in board order
object
What the default rule picks from the project’s statuses
object
Status once the delivery is approved
Status while a person reviews the delivery
Status while the agent waits for an answer
Status for the agent working on the ticket
Example generated
{ "data": { "configuredAt": "2026-04-15T12:00:00Z", "mapping": { "done": "example", "review": "example", "waiting": "example", "working": "example" }, "projectId": "example", "statuses": [ { "category": "example", "color": "example", "id": "example", "name": "example", "position": 1 } ], "suggested": { "done": "example", "review": "example", "waiting": "example", "working": "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" }}Conflict.
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" }}Invalid input.
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