Transition a task
POST/api/v1/tasks/:task_id/transitions
Fires a named transition on a task. The transition must exist in the workflow and be valid from the task's current state; its guard must pass. This is the single path every state change routes through. A transition declaring requires_approval does not move the task — it parks a pending ApprovalItem and returns the task with pending_transition set; the move applies only when the approval is approved.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
The task after the transition
The transition does not exist, is not valid, or its guard rejected the move
Unauthorized
Forbidden
Task not found
A concurrent transition made this one invalid, or the task is closed