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

# Submit external input for a paused workflow execution

Availability: 9.4+

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

## Paths

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

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

#### Path Parameters

- `executionId` (string · max: 128)
  Workflow execution ID
- `stepId` (string · max: 128)
  Workflow step execution ID

## Description

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

Resume a workflow execution that is paused and waiting for external input. Submit input values as a JSON request body, authenticated with a token query parameter. Returns an HTML confirmation page.

## Query String Parameters

- `token` (string · max: 128)
  The resume token authenticating this request.

## Request Body

`application/json`

Type: `object`


## Response

An HTML confirmation page confirming that the input was received and the workflow execution was resumed.

`text/html`

Type: `string`

## Code Examples

#### Console

```console
POST kbn://api/workflows/executions/{executionId}/steps/{stepId}/resume/external?token={resumeToken}
Content-Type: application/json

{"severity":"high"}
```

#### curl

```curl
curl \
  -X POST "${KIBANA_URL}/api/workflows/executions/{executionId}/steps/{stepId}/resume/external?token=${RESUME_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"severity":"high"}'
```

## Response Examples

#### External resume input success

Success page confirming the input was received

```json
<!DOCTYPE html><html><body><h1>Thank you</h1><p>Your response was received. You can close this window.</p></body></html>
```

