---
title: "Retrieve SBC configuration"
method: GET
path: "/sbc"
tags: ["Administration"]
---

# Retrieve SBC configuration

`GET /sbc`

## Request

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

Retrieve settings for SBC.

## Response `200`

OK

- object
  - `domain` string: The SBC domain.
  - `http_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
  - `https_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
  - `transports` object[]
    - `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

## 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)
