# Settings endpoints (System (public))

> 1 FeatherPanel System (public) endpoint from system/settings.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Source: https://featherpanel.com/docs/api/reference/system/settings/

Defined in [`backend/app/routes/system/settings.php`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/system/settings.php). Authentication used here: **Custom middleware**. Read [Authentication](https://featherpanel.com/docs/api/authentication/) for how to send credentials and [Rate limits and errors](https://featherpanel.com/docs/api/rate-limits-and-errors/) for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

## Endpoints

### GET `/api/system/settings`

- Auth: Custom middleware (`PanelAccessSoftMiddleware`)
- Route name: `settings`
- Controller: [`SettingsController::index`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/System/SettingsController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/system/settings.php#L26)

**Get public settings** Retrieve public application settings with default values. These settings are safe to expose to frontend clients.

Response data: [`PublicSettings`](https://featherpanel.com/docs/api/schemas/#schema-publicsettings)

| Response `data` field | Type | Description |
| --- | --- | --- |
| `settings` | object | Public application settings with default values |

```bash
curl -X GET "$PANEL_URL/api/system/settings" \
  -H "Accept: application/json"
```

Responses: `200` Public settings retrieved successfully · `500` Internal server error - Failed to retrieve settings
