Resume Execution
POST
/api/resume/{workflowId}/{executionId}/{contextId}Authorization
apiKey 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": "f0b3d8c2-7e5a-4b9d-8c1f-6a4e2d0b9c58",
"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": "f0b3d8c2-7e5a-4b9d-8c1f-6a4e2d0b9c58",
"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"
}