> This page is for Server SDKs.

> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# get

> Get a configuration value by dot-notation path.

Get a configuration value by dot-notation path. Environment variables are
substituted in the returned value.

## **Parameters**

**`key_path`** `str` — required

Dot-separated path to the config value (e.g., `"security.ssl_enabled"`,
`"server.port"`).

---

**`default`** `Any` — default: None

Default value if the path is not found.

---

## **Returns**

`Any` -- The configuration value with environment variables substituted, or the
default if not found.

## **Example**

```python {5-7}
from signalwire.core.config_loader import ConfigLoader

loader = ConfigLoader(["config.json"])

port = loader.get("server.port", 3000)
ssl_enabled = loader.get("security.ssl_enabled", False)
auth_user = loader.get("security.auth.basic.user", "signalwire")

print(f"Port: {port}, SSL: {ssl_enabled}, User: {auth_user}")
```