Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Api for Wordpress doesnt work



Normal Mode | Print  

Api for Wordpress doesnt work
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5872
Status:
Hi,

There are some issues on your curl URL :

1. You are using root credentials on port 2083 which is not allowed by cPanel. You should either use the username of the user for which you want to find the list of installations and your root password with port 2083 e.g. :
user:password@server.host.com:2083

or use the root password on port 2087.

2. user:password authentication is not supported by WHM on port 2087 so you can use the following authentication mechanism. E.g. :
curl -H'Authorization: whm root:MYAPITOKEN' 'https://server.host.com:2087/cgi/softaculous/index.php?act=installations&api=json'

Note : Use port 2083 if you want to list installations of a single cPanel user and use port 2087 if you want to list the installations of all cPanel users on the server.

-----------------------
Softaculous
Supercharge your WordPress Hosting with SoftWP (10+ WordPress Pro plugins for Free)
IP: --   


Threads
 Flexamedia   Api for Wordpress doesnt work (5 Replies, Read 9734 times)
    |--  Brijesh   Hi, Please use...   on February 21, 2023, 1:06 pm
    |--  Flexamedia   This does indeed...   on February 24, 2023, 8:22 pm
    |--  Brijesh   Hi, Can you...   on February 26, 2023, 10:32 am
    |--  Flexamedia   I use the...   on February 26, 2023, 1:02 pm
    |--  Brijesh   Hi, There are...   on March 6, 2023, 10:03 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is February 4, 2026, 2:52 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.248