Publish a proposed task
curl --request POST \ --url https://example.com/api/v1/tasks/example/publish \ --header 'Authorization: Bearer <token>'Makes a task proposed from a signed contract (isProposed) the client’s: it and its subtasks become visible in the client portal and to the client’s assistant, project automations run on them, units orders count them and their creation is announced. A task that is already published is returned as it is. Responds 400 when the task’s parent is still a proposal. Requires the tasks.manage permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Resource identifier (CUID2).
Resource identifier (CUID2).
Responses
Section titled “Responses”The published task.
object
A task.
object
Task 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.
The stored sanitized HTML behind description.
True while the task is a proposal made from a signed contract: only the team sees it, until it is published (POST /tasks/{id}/publish). Absent on a server older than this field.
Workspace-scoped sequential task number.
For a subtask: whether it shows as its own card on its project’s board, in the column of its own status. Always false for a root task, which is always a card. Absent on a server older than this field.
Repetition rule, or null when the task does not repeat. Completing a repeating task creates the next instance on the next occurrence and records its id in spawnedTaskId.
object
Last calendar day of the series, YYYY-MM-DD.
Day a MONTHLY rule repeats on. Defaults to the due date’s day, clamped per month.
Days a WEEKLY rule repeats on, 0 = Sunday. Defaults to the due date’s weekday.
Sibling ordering key; ascending, then createdAt and id. Ignored for root tasks.
Whether the task’s direct subtasks show on the board; a subtask created later starts the same way. Absent on a server older than this field.
Time estimate in seconds (5400 = 1h 30m), or null when the task has none.
Example
{ "data": { "priority": "NONE", "recurrence": { "frequency": "DAILY", "interval": 1 } }}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" }}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