List available WordPress plugins
List plugins recommended for installation on a WordPress installation that are not yet installed.
List plugins recommended for installation on a WordPress installation that are not yet installed.
Provide the WordPress installation (software) identifier in the path. It can
be obtained from GET /api/hosting/v1/wordpress/installations (the id field).
API Token authentication
u123456789WordPress installation (software) identifier
1232456789Pattern: ^[0-9]+$Success response
Plugin slug used when installing the plugin
akismetHuman readable plugin name
Akismet Anti-SpamShort plugin description
Protect your site from spam.Translation slug for the onboarding description
akismet_onboarding_descriptionTranslation slug for the recommended description
akismet_recommended_descriptionLink to the plugin page on WordPress.org
https://wordpress.org/plugins/akismet/Latest available plugin version
5.3Minimum WordPress version required by the plugin
5.8Minimum PHP version required by the plugin
7.2Whether a hosting plan upgrade is required to use the plugin
falseUnauthenticated response
Error response
GET /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins/available HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"slug": "akismet",
"title": "Akismet Anti-Spam",
"description": "Protect your site from spam.",
"onboarding_description_slug": "akismet_onboarding_description",
"recommended_description_slug": "akismet_recommended_description",
"link": "https://wordpress.org/plugins/akismet/",
"version": "5.3",
"required_wordpress_version": "5.8",
"required_php_version": "7.2",
"is_plan_upgrade_needed": false
}
]Last updated
Was this helpful?