---
title: "Create an inlet"
method: PUT
path: "/api/inlets"
tags: ["Inlets"]
---

# Create an inlet

`PUT /api/inlets`

## Request body

- Inlet
  - `id` string
  - `name` string, required
  - `pin` integer
  - `equipment` string
  - `reverse` boolean
  - `driver` string, required

## Response `200`

Inlet created

- ErrorResponse
  - `message` string, required

## Other responses

- `400` — Invalid input
- `401` — Unauthorized

---

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