List WordPress themes
List WordPress themes available to install. Use the returned slug values with POST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install.
List WordPress themes available to install.
Use the returned slug values with
POST /api/hosting/v1/accounts/{username}/wordpress/{software}/themes/install.
API Token authentication
Optionally scope themes to a specific order.
123456Search term to match against theme names.
blogSuccess response
Array of WordPress.V1.Themes.ThemeResource
Theme slug used when installing the theme
twentytwentyoneHuman readable theme name
Twenty Twenty-OneLink to the theme page on WordPress.org
https://wordpress.org/themes/twentytwentyone/URL of the theme preview thumbnail
https://ts.w.org/wp-content/themes/twentytwentyone/screenshot.pngURL of the full-size theme preview image
https://ts.w.org/wp-content/themes/twentytwentyone/screenshot.pngShort theme description
A blank canvas for your ideas.URL of the theme logo
https://ts.w.org/wp-content/themes/twentytwentyone/logo.pngWhether a hosting plan upgrade is required to use the theme
falseUnauthenticated response
Error response
GET /api/hosting/v1/wordpress/themes HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"slug": "twentytwentyone",
"title": "Twenty Twenty-One",
"url": "https://wordpress.org/themes/twentytwentyone/",
"featured_image_url": "https://ts.w.org/wp-content/themes/twentytwentyone/screenshot.png",
"full_image_url": "https://ts.w.org/wp-content/themes/twentytwentyone/screenshot.png",
"description": "A blank canvas for your ideas.",
"logo_url": "https://ts.w.org/wp-content/themes/twentytwentyone/logo.png",
"is_plan_upgrade_needed": false
}
]Last updated
Was this helpful?