Resume Execution

Resume a paused workflow execution by providing input for a specific pause context. The execution continues from where it paused, using the provided input. Supports synchronous, asynchronous, and streaming modes (determined by the original execution's configuration).

POST/api/resume/{workflowId}/{executionId}/{contextId}
X-API-Key<token>

Your Sim API key (personal or workspace). Generate one from the Sim dashboard under Settings > API Keys.

In: header

Path Parameters

workflowId*string

The unique identifier of the workflow.

executionId*string

The execution ID of the paused execution.

contextId*string

The pause context ID to resume. Found in the pause point's contextId field or resumeLinks.

Request Body

application/json

Input data for the resumed execution. The structure depends on the workflow's Human in the Loop block configuration.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST \  "https://www.sim.ai/api/resume/{workflowId}/{executionId}/{contextId}" \  -H "X-API-Key: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "input": {      "approved": true,      "comment": "Looks good to me"    }  }'

{
  "success": true,
  "status": "completed",
  "executionId": "exec_new123",
  "output": {
    "result": "Approved and processed"
  },
  "error": null,
  "metadata": {
    "duration": 850,
    "startTime": "2026-01-15T10:35:00Z",
    "endTime": "2026-01-15T10:35:01Z"
  }
}

{
  "success": true,
  "async": true,
  "jobId": "job_4a3b2c1d0e",
  "executionId": "exec_new123",
  "message": "Resume execution queued",
  "statusUrl": "https://www.sim.ai/api/jobs/job_4a3b2c1d0e"
}
{
  "error": "string",
  "details": [
    {}
  ]
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}