hosting
POST /v1/sites/{siteId}/wordpress/zinn-plugins
Install a recommended Zinn® plugin on a site in one click.
Authentication
Send an API key as a bearer token. The key must carry the sites.view permission; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/sites/{siteId}/wordpress/zinn-plugins \
-H "Authorization: Bearer zdk_live_…" \
-H "Content-Type: application/json" \
-d '{ "plugin": <string<zinn-seo, zinn-cache, zinn-translate, zinn-backups, zinn-chat, zinn-offload>> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
P5-071 (owner answer A277): the recommendation card's one click. Installs and activates a Zinn® plugin named by a recommendation in listSiteWordPressPlugins or a footprint check. The zip comes from our own download server (the current published release, SHA-256 verified before it leaves the engine) until the WordPress.org directory lists the plugin, and from WordPress.org once it does. The switch is read from the directory, never typed. A directory that cannot be reached takes our server. 404 when our server has no verified current release of the plugin. Requires sites.view and sites.panel_access.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
siteId (path) | Uuid | Yes | Site ID (UUIDv7). |
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
plugin | string<zinn-seo, zinn-cache, zinn-translate, zinn-backups, zinn-chat, zinn-offload> | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
restore_point | object | No | P3-066: on the response to a manual update only, the id of the backup taken just before it (one point covers a burst of updates made within 15 minutes, so "update all" restores to… |
data | SiteWordPressPlugin[] | Yes | The installed plugins. |
stack_cache_installed | boolean | Yes | ⛔ Cannot be derived from data. this platform excludes its own server-side cache plugin from the listing, so a client deriving this flag from the rows would answer "not… |
recommendations | ZinnPluginRecommendation[] | Yes | P5-071: the Zinn® plugin that does the same job as each third-party plugin installed (SEO, cache, translation, backup, chat, media offload), one per category. Only plugins our… |
installed | ZinnPluginInstalled | No | Present only in the answer to installSiteZinnPlugin: what was installed and from where. |
Errors this endpoint can return
401 · 403 · 404 · 409 · 422 · 429 · 503