Search WordPress plugins
Search the WordPress.org plugin directory for plugins available to install. Use the returned slug values with POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install.
Search the WordPress.org plugin directory for plugins available to install.
Use the returned slug values with
POST /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/install.
Authorizations
AuthorizationstringRequired
API Token authentication
Query parameters
searchstring · min: 3RequiredExample:
Search term to match against plugin names. Minimum 3 characters.
seoResponses
200
Success response
application/json
Array of WordPress.V1.Plugins.PluginResource
slugstringOptionalExample:
Plugin slug used when installing the plugin
akismettitlestringOptionalExample:
Human readable plugin name
Akismet Anti-SpamdescriptionstringOptionalExample:
Short plugin description
Used by millions, Akismet is quite possibly the best way to protect your site from spam.401
Unauthenticated response
application/json
500
Error response
application/json
get/api/hosting/v1/wordpress/plugins
GET /api/hosting/v1/wordpress/plugins?search=seo HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"slug": "akismet",
"title": "Akismet Anti-Spam",
"icons": {
"1x": "https://ps.w.org/akismet/assets/icon-128x128.png",
"2x": "https://ps.w.org/akismet/assets/icon-256x256.png"
},
"description": "Used by millions, Akismet is quite possibly the best way to protect your site from spam."
}
]Last updated
Was this helpful?