---
title: "Add an input to an exchange"
method: POST
path: "/v1/exchanges/{id}/inputs"
tags: ["Exchanges"]
---

# Add an input to an exchange

`POST /v1/exchanges/{id}/inputs`

## Request

- Base URL: `https://api.capacity.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.capacity.com/v1/exchanges/{id}/inputs`
- Auth: one of:
  - API key in header `x-capacity-id`
  - HTTP bearer

Add an input to an exchange

## Path parameters

- `id` string, required

## Request body

- object
  - `input` string, required: Text of the new input

## Response `201`

The created input

- object
  - `body` object: Json body data in the request
  - `parameters` object: Query parameters in the request
  - `result` InputSchema
    - `id` string: ID of the input record
    - `input` string: Input text

## Other responses

- `404`: The requested resource could not be found

---

[API](https://skmtc.dev/capacity/apis/capacity-api-docs.md) - [All operations](https://skmtc.dev/capacity/apis/capacity-api-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/capacity/apis/capacity-api-docs/revisions/74c85bb61004?raw)
