---
title: "Reserve a TCP address"
method: POST
path: "/api/projects/tunnels/{projectId}/addresses"
tags: ["projects"]
---

# Reserve a TCP address

`POST /api/projects/tunnels/{projectId}/addresses`

## Request

- Base URL: `https://rstream.io`
- URL: `https://rstream.io/api/projects/tunnels/{projectId}/addresses`
- Auth: HTTP bearer

## Path parameters

- `projectId` string, required

## Request body

- CreateTunnelsTCPAddressParams

## Response `200`

Successful response.

- CreateTunnelsTCPAddressResponse
  - `id` string, required
  - `projectId` string, required
  - `clusterId` string, nullable, required
  - `edgeNetworkId` string, nullable, required
  - `hostname` string, required
  - `port` integer, required
  - `address` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400`: Request validation failed.
- `401`: Authentication is required.
- `403`: The token is not authorized.
- `404`: Project not found.

---

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