---
title: "Retrieve a transport"
method: GET
path: "/transports/{id}"
tags: ["Administration"]
---

# Retrieve a transport

`GET /transports/{id}`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/transports/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/transports/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a transport by it's unique ID.

## Path parameters

- `id` string, required: The unique ID of the resource.

## Response `200`

OK

- object
  - `id` string: The unique ID of the resource.
  - `protocol` 'UDP' | 'TCP' | 'TLS': The transport protocol: Can be either: - `UDP`: - `TCP`: - `TLS`:
  - `port` integer: 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.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
