---
title: "Create a transport"
method: POST
path: "/transports"
tags: ["Administration"]
---

# Create a transport

`POST /transports`

Add a new transport.

## Request body

- object
  - `protocol` 'UDP' | 'TCP' | 'TLS', required — The transport protocol: Can be either: - `UDP`: - `TCP`: - `TLS`:
  - `port` integer, required — A port number is a 16-bit unsigned integer, thus ranging from 0 to 65535. For TCP, port number 0 is reserved and cannot be used, while for UDP, the source port is optional and a value of zero means no port
  - `verification` 'DISABLE' | 'OPTIONAL' | 'MANDATORY' — Indicates if PBX wishes (Optional) or requires (Mandatory) TLS clients to present a client certificate: - `DISABLE`: disable client certificate. - `OPTIONAL`: client authentication optional. - `MANDATORY`: force client authentication.

## Response `201`

Created transport

- object
  - `id` string — The unique ID of the resource.

## Other responses

- `4XX` — Error

---

[API](https://skmtc.net/portsip/apis/portsip-pbx-rest-api.md) · [All operations](https://skmtc.net/portsip/apis/portsip-pbx-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portsip/portsip-pbx-rest-api/revisions/577415d4a3d5/schema)
