WordPress: Themes
Install WordPress theme
Install a theme on an existing WordPress installation.
Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the id field).
When the theme is one of the Hostinger themes (hostinger-blog, hostinger-affiliate-theme, hostinger-ai-theme), the optional palette, layout, and font fields are forwarded to the custom installer (defaults: palette1, layout1, default). For any other theme they are ignored.
This operation is asynchronous: a successful response only means the install job has been queued, not that the theme is ready.
post/api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install
Path parameters
usernamestring required
Example:u123456789
softwarestring required
Example:1232456789
WordPress installation (software) identifier
Request body
Example request
{
"theme": "hostinger-blog",
"palette": "palette1",
"layout": "layout1",
"font": "default"
}Response
Success empty response
Example response
{
"message": "Request accepted"
}