---
type: api
title: Resume a workflow execution
description: **Spaces method and path for this operation:**
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/operation/operation-post-workflows-executions-executionid-resume
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/operation/operation-post-workflows-executions-executionid-resume
products:
  - Kibana
---

# Resume a workflow execution

Availability:

- Server: `https://{kibana_url}`

## Paths

- `POST` `/api/workflows/executions/{executionId}/resume`
- `POST` `/s/{space_id}/api/workflows/executions/{executionId}/resume`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana-serverless/authentication#apikeyauth)

#### Path Parameters

- `executionId` (string · max: 255)
  Workflow execution ID

## Description

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Resume a paused workflow execution with the provided input.<br/><br/>[Required authorization] Route required privileges: workflowsManagement:execute.

## Request Body

`application/json`

- `input` (map string to object) — required
  Input data to resume the execution with.
- `stepExecutionId` (string · min: 1 · max: 1024) — optional
  Step execution ID of the HITL wait to claim. When omitted, the server looks up the waiting step.

## Response

Indicates a successful response

## Code Examples

#### Console

```console
POST kbn://api/workflows/executions/{executionId}/resume
{
  "input": {
    "approved": true,
    "comment": "Approved by analyst"
  },
  "stepExecutionId": "step-exec-a1b2c3d4"
}
```

#### curl

```curl
curl \
  -X POST "${KIBANA_URL}/api/workflows/executions/{executionId}/resume" \
  -H "Authorization: ApiKey ${API_KEY}" \
  -H "kbn-xsrf: true" \
  -H "Content-Type: application/json" \
  -d '{
    "input": {
      "approved": true,
      "comment": "Approved by analyst"
    },
    "stepExecutionId": "step-exec-a1b2c3d4"
  }'
```

## Response Examples

#### Resume execution response

Example response confirming the resume was scheduled

```json
{
  "executionId": "exec-a1b2c3d4-e5f6-7890",
  "message": "Workflow resume scheduled",
  "success": true
}
```

