---
title: "Create Forward Node"
method: POST
path: "/admin/forward-nodes"
---

# Create Forward Node

`POST /admin/forward-nodes`

## Request

- Base URL: `https://api.xhostd.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xhostd.com/admin/forward-nodes`
- Auth: none declared

## Headers

- `authorization` string, nullable

## Request body

- CreateForwardNodeRequest
  - `name` string, required
  - `hostname` string, required
  - `port_range_start` integer, required
  - `port_range_end` integer, required

## Response `201`

Successful Response

- ForwardNodeInfo
  - `id` string, uuid, required
  - `name` string, required
  - `hostname` string, required
  - `port_range_start` integer, required
  - `port_range_end` integer, required
  - `enabled` boolean, required
  - `allocated_count` integer, required
  - `capacity` integer, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/xhostd/apis/xhostd-public.md) · [All operations](https://skmtc.dev/xhostd/apis/xhostd-public/llms.txt) · [OpenAPI document](https://skmtc.dev/xhostd/apis/xhostd-public/revisions/bf439c4d1789?raw)
