plsk.org documentationAPICabinetplsk.org

Example - WordPress

Updated 2026-11-08

REST

Install:

curl -sS -X POST https://api.plsk.org/api/modules/wp-toolkit/v1/installations \
  -H "X-API-Key: $KEY" -H "content-type: application/json" \
  -d '{"domain": "<hostname>", "installationPath": "/wp", "title": "Example", "protocol": "https"}'

Status 201 with the task path in url. Poll the task until status is done (approximately 20 s):

curl -sS https://api.plsk.org/api/modules/wp-toolkit/v1/background-tasks/task_install/<id> -H "X-API-Key: $KEY"

List installations:

curl -sS https://api.plsk.org/api/modules/wp-toolkit/v1/installations -H "X-API-Key: $KEY"

The site is served at https://<hostname>/wp/.

MCP

With site_api: method POST, path /modules/wp-toolkit/v1/installations, body as above.

With the Plesk MCP tools: si_plesk_api_method_execute_write with methodName createinstallation and arguments {"domain": "<hostname>", "installationPath": "/wp", "title": "Example", "protocol": "https"}, then si_plesk_api_method_execute_read with methodName getbackgroundtask and arguments {"taskCode": "task_install", "taskId": <id>}.