Skip to content

Powered by Grav + Helios

Install Package

Install Package

POST /gpm/install
Install a plugin or theme from the GPM repository.

Parameters

Name Type Description
package required string Package slug to install
type required string Package type: plugin or theme
license optional string License key for premium packages
JSON
{"package": "sitemap", "type": "plugin"}

Response Codes

201 Package installed
401 Unauthorized
422 Validation error (package not found or install failed)