Cpanel API Not Returning a Response

rmatakajr

Member
Jun 8, 2011
17
0
51
Hi

I have been using the cPanel XMLAPI for over 2 1/2 years now with Hot Gator With no issues
at all... today it just stoped working for me and many of my customers and im unsure whats
going on here. Im just not getting a response at all.. but when I call a fuction in the browser
window like

Code:
/http://domain.com:2082/xml-api/cpanel?user=gstrder&cpanel_xmlapi_module=Email&cpanel_xmlapi_func=listpopswithdisk&cpanel_xmlapi_version=2&domain=blah.com
I get a token not found.. so the API is responding.. the only change was I moved to a server what has
PHP 5.3.2.7 on it.. where i was on a 5.2.9 - server before.. does anybody have any clues on this?

My customers are having API issues and hostgator now all of a sudden any help appreciated

Thanks
Ricky
 
Last edited by a moderator:

MikeDVB

Well-Known Member
PartnerNOC
Jun 4, 2008
218
3
68
Indiana, USA
I could be wrong but it sounds to me like you need to get a security token before making further API calls and then use that same token for subsequent API calls in the same session.

Hopefully somebody else that is more familiar with the API will be along shortly to help more.