---
title: "Create / Install Must-Use Plugin"
method: POST
path: "/mu-plugins"
tags: ["mu-plugins"]
---

# Create / Install Must-Use Plugin

`POST /mu-plugins`

## Request

- Base URL: `https://my.pressable.com/v1`
- URL: `https://my.pressable.com/v1/mu-plugins`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/docs/mu-plugins/post.ts> (a function with typed inputs; its response is checked against the schema)

When a request is made to this endpoint with the mu-plugin details, we will install the plugin in the default mu-plugin directory of all of your sites, based on your requested settings of existing_sites and future_sites on mu-plugin creation.

## Request body

- object
  - `path` string
  - `existing_sites` boolean
  - `future_sites` boolean

## Response `200`

Successful Response

- object
  - `message` string
  - `data` object

---

[API](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1.md) - [All operations](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/pressable/apis/pressable-api-documentation-v1/revisions/267a95219f47?raw)
