Endpoint
Description
Resumes a task that was previously paused via the pause endpoint. The workflow continues from the last checkpoint and proceeds normally.Authentication
Required: Yes Include API key in header:Request
Headers
| Header | Required | Description |
|---|---|---|
X-API-Key | Yes | API authentication key |
Content-Type | No | application/json if body |
traceparent | No | W3C trace context |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Task ID (Temporal workflow ID) |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
reason | string | No | Optional resume reason note |
Request Body Example
Response
202 Accepted
404 Not Found
409 Failed Precondition
Cannot resume task in invalid state:401 / 403
Notes
- Only has an effect for tasks that are currently paused; calling
resumeon a non-paused task returns a 409 Failed Precondition error. - State validation ensures clear error messages for invalid operations (e.g., resuming completed or already-running tasks).
- SSE streams emit
workflow.resumedwhen a paused workflow continues.