Login/Register
Installatron Plugin
API Documentation

Themes (WordPress only)

GET /installs/{id}/themes

List a WordPress install's themes.

Parameters


API

/installs/{id}/themes
API endpoint.

{id} is the internal ID of the install to view the themes for.
GET
Method.

Optional parameters

user
string
The system or control panel username the task is to be performed on or for.

default is the owner of the installation identified by {id} in the API request

Response


Response

status
int
HTTP status code describing the result of the request.

200
for Success.
All other numbers represent errors which are described in the errcode output below.
result
boolean
true
= Success.
false
= Failure.
errcode
string
status code 403
invalid_argument_user
User specified is not authorized to access this data.
status code 404
install_not_found
The app ID was not found or it was found by is owned by a user who does not have access to it.
user_not_found
The specified user could not be found in the system control panel.
message
string
Message describing the result of the request. Do not rely on this to determine the success or failure of the request.
data[]


id
string
The "slug" (aka. internal ID) of the theme.
(eg.
twentytwentyfour
,
twentytwentyfive
)
activated
boolean
State of the theme.
true
= Theme is activated.
false
= Theme is deactivated.
autoup
enum
Automatic update configuration for the theme.
none
= Never update.
all
= All updates will be performed.
version
string
Current version of the theme.
(eg.
5.4.3
)
name
string
Full name of the theme.
(eg.
Twenty Twenty-Five
)
description
string
Author's long description of the theme.
author
string
Author's name.
(eg.
the WordPress team
)
version_available
string
Newest version available of the theme.
(eg.
5.4.4
)

Full Examples

Example: List all the theme of the WordPress install with ID 1234567890abcdefghij12345

Method: curl
Installatron Product: Installatron Plugin (switch to Installatron Server)
$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2083/3rdparty/installatron/index.cgi?     # cpanel
#$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2087/3rdparty/installatron/index.cgi?    # whm
#$cpapi=https://{USER}:{PASS}@{SERVER_IP}:2222/CMD_PLUGINS/installatron/index.raw? # directadmin

curl -X POST $cpapi/installs/1234567890abcdefghij12345/themes \
    -H 'X-HTTP-Method-Override: GET' \
    -H 'Accept: application/json'
Response: json
{
    "status": 200,
    "result": true,
    "message": "The task is complete.\n",
    "total_count": 1,
    "has_more": false,
    "data": [
        {
            "id": "twentytwentyfour",
            "activated": true,
            "autoup": "none",
            "version": "3.4",
            "name": "Twenty Twenty-Four",
            "description": null,
            "author": "the WordPress team",
            "version_available": null
        },
        {
            "id": "twentytwentyfive",
            "activated": true,
            "autoup": "none",
            "version": "1.2",
            "name": "Twenty Twenty-Five",
            "description": null,
            "author": "the WordPress team",
            "version_available": null
        },
    ]
}


© 2004 - 2025 Installatron LLC. All rights reserved. Privacy Policy.