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

# Add an output to an exchange

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

## 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}/outputs`
- Auth: one of:
  - API key in header `x-capacity-id`
  - HTTP bearer

Add an output to an exchange

## Path parameters

- `id` string, required

## Request body

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

## Response `201`

The created output

- object
  - `body` object: Json body data in the request
  - `parameters` object: Query parameters in the request
  - `result` OutputSchema
    - `id` string: ID of the output record
    - `output` string: Output 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)
