SnozeDevelopers
API referenceAutomations

Resume a waiting automation node with a decision

Releases a node that is waiting on a human decision by recording `approved` or `rejected` together with optional `output`, then returns the run with its node executions. Requires the `automations:write` permission plus edit access to the automation; an unknown run returns not-found. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.

POST
/v1/workspaces/{workspaceId}/automations/{automationId}/runs/{runId}/nodes/{nodeRunId}/resume

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Path Parameters

workspaceId*string
automationId*string
runId*string
nodeRunId*string

Request Body

application/json
  1. body
decision*string
Value in"approved""rejected"
output?|null

Response Body

Success

application/json
  1. response
data*
Example Request
curl -X POST 'https://api.snoze.dev/v1/workspaces/string/automations/string/runs/string/nodes/string/resume' \  -H 'Content-Type: application/json' \  -d '{  "decision": "approved"}'
Example Response
{  "data": {    "id": "string",    "automationId": "string",    "automationVersionId": "string",    "workspaceId": "string",    "status": "queued",    "source": "manual",    "startedAt": "string",    "completedAt": "string",    "triggerPayload": {},    "output": {},    "error": "string",    "metadata": {},    "startNodeId": "string",    "replayOfRunId": "string",    "nodeRuns": [      {        "id": "string",        "runId": "string",        "nodeId": "string",        "nodeKind": "string",        "scopeKey": "string",        "status": "queued",        "attempt": 0,        "input": {},        "output": {},        "error": "string",        "startedAt": "string",        "completedAt": "string"      }    ]  }}