---
title: "Create an Input for future use in a script or flow"
method: POST
path: "/w/{workspace}/inputs/create"
tags: ["input"]
---

# Create an Input for future use in a script or flow

`POST /w/{workspace}/inputs/create`

## Path parameters

- `workspace` string, required

## Query parameters

- `runnable_id` string
- `runnable_type` 'ScriptHash' | 'ScriptPath' | 'FlowPath'

## Request body

- CreateInput
  - `name` string, required
  - `args` object, required

## Response `201`

Input created

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/8a5fd82f8851/schema)
