# Plugin Sdk endpoints (System (public))

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

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

Defined in [`backend/app/routes/system/plugin-sdk.php`](https://github.com/MythicalLTD/FeatherPanel/blob/8318da2dee6f7facc161af39e305be7d97407929/backend/app/routes/system/plugin-sdk.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 `/components/_sdk/featherpanel-plugin.js`

- Auth: Public
- Route name: `plugin-sdk-js`
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/8318da2dee6f7facc161af39e305be7d97407929/backend/app/routes/system/plugin-sdk.php#L31)

**FeatherPanel plugin client SDK** JavaScript client used by plugin iframes for theme sync, auto-resize, toast, navigation, context and confirm dialogs.

```bash
curl -X GET "$PANEL_URL/components/_sdk/featherpanel-plugin.js" \
  -H "Accept: application/json"
```

Responses: `200` JavaScript SDK · `404` SDK file missing

### GET `/api/system/plugin-sdk/featherpanel-plugin.js`

- Auth: Public
- Route name: `plugin-sdk-js-api`
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/8318da2dee6f7facc161af39e305be7d97407929/backend/app/routes/system/plugin-sdk.php#L37)

```bash
curl -X GET "$PANEL_URL/api/system/plugin-sdk/featherpanel-plugin.js" \
  -H "Accept: application/json"
```

### GET `/components/_sdk/featherpanel-plugin.d.ts`

- Auth: Public
- Route name: `plugin-sdk-dts`
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/8318da2dee6f7facc161af39e305be7d97407929/backend/app/routes/system/plugin-sdk.php#L43)

**FeatherPanel plugin client SDK typings**

```bash
curl -X GET "$PANEL_URL/components/_sdk/featherpanel-plugin.d.ts" \
  -H "Accept: application/json"
```

Responses: `200` TypeScript declarations · `404` SDK typings missing

### GET `/api/system/plugin-sdk/featherpanel-plugin.d.ts`

- Auth: Public
- Route name: `plugin-sdk-dts-api`
- [route source](https://github.com/MythicalLTD/FeatherPanel/blob/8318da2dee6f7facc161af39e305be7d97407929/backend/app/routes/system/plugin-sdk.php#L49)

```bash
curl -X GET "$PANEL_URL/api/system/plugin-sdk/featherpanel-plugin.d.ts" \
  -H "Accept: application/json"
```
