# Plugin Widgets endpoints (System (public))

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

Source: https://featherpanel.com/docs/api/reference/system/plugin-widgets/

Defined in [`backend/app/routes/system/plugin-widgets.php`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/system/plugin-widgets.php). Authentication used here: **Public**. 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/plugin-widgets`

- Auth: Public
- Route name: `plugin-widgets`
- Controller: [`PluginWidgetController::index`](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/Controllers/System/PluginWidgetController.php)
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/15b94e9fc9df233123706b47c42728b81e48cb3d/backend/app/routes/system/plugin-widgets.php#L24)

**Get plugin widget configuration** Retrieve widget configuration from all installed plugins. Widgets are organized by page and location, sorted by priority.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `page` | query | string | no | Filter widgets by page identifier (e.g., "server-console") |

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

| Response `data` field | Type | Description |
| --- | --- | --- |
| `widgets` | object | Widgets organized by page and location |

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

Plugin events: [`featherpanel:system:plugins:ui:error`](https://featherpanel.com/docs/plugins/events/plugin-ui/#ui-error), [`featherpanel:system:plugins:ui:widgets:retrieved`](https://featherpanel.com/docs/plugins/events/plugin-ui/#widgets-retrieved)

Responses: `200` Plugin widget configuration retrieved successfully · `500` Internal server error - Failed to retrieve plugin widget configuration
