GET /plugins
Returns all installed plugins with their status, version, and update availability.Response
Array of plugin objects.
Total number of installed plugins.
POST /plugins/activate
Activates an installed plugin.Parameters
Plugin file path relative to the plugins directory (e.g.
woocommerce/woocommerce.php).Response
Always
true on success.Human-readable confirmation message.
POST /plugins/deactivate
Deactivates an active plugin. WP Manager Pro cannot deactivate itself.Parameters
Plugin file path relative to the plugins directory.
DELETE /plugins/delete
Deactivates and permanently deletes a plugin. WP Manager Pro cannot delete itself.Parameters
Plugin file path relative to the plugins directory.
POST /plugins/install
Installs a plugin from the WordPress.org repository by slug.Parameters
WordPress.org plugin slug (e.g.
woocommerce).GET /plugins/search
Searches the WordPress.org plugin repository.Parameters
Search query string.
Page number for paginated results. Defaults to
1. Returns 12 results per page.Response
Array of matching plugin objects from WordPress.org.
Total number of matching results.
Total number of result pages.
POST /plugins/upload
Installs a plugin from an uploaded ZIP file.This endpoint requires
multipart/form-data encoding. The file field must be named file and contain a valid .zip archive.Parameters
The plugin ZIP file to upload. Must have a
.zip extension.If
true, overwrites an existing plugin with the same slug. Defaults to false.POST /plugins/export
Creates a ZIP archive of an installed plugin and returns a time-limited download URL. The URL expires after 5 minutes.Parameters
Plugin file path relative to the plugins directory.
Response
Always
true on success.Time-limited URL to download the ZIP file. Valid for 5 minutes.
Suggested filename for the download.
GET /plugins/download
Streams a previously exported plugin ZIP file. Use thedownload_url returned by POST /plugins/export.
Parameters
The one-time download key returned from
POST /plugins/export.POST /plugins/update
Updates an installed plugin to its latest available version from WordPress.org. Returns a400 error if no update is available.
Parameters
Plugin file path relative to the plugins directory.
POST /plugins/install-version
Installs a specific version of a WordPress.org plugin, overwriting any currently installed version. If the plugin was active before the install, it is reactivated automatically.Parameters
WordPress.org plugin slug.
The exact version to install (e.g.
8.5.0). Must match the format x.y.z.