Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Getting expected result from API

Discussion in 'cPanel Developers' started by mohisanisel, May 29, 2014.

  1. mohisanisel

    mohisanisel Registered

    Sep 23, 2013
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Excuse me for my bad English :)

    I'm trying to connect to WHM through API and Hash. I just used so many pre-coded scripts which i found on the Net.

    But no luck, because I couldn't get the result which I expect. I just want to get the response of WHM about my command. for example if i send an account creation request, I want to get this response: "Account Created Successfully" or "Account has not been created" (This responses will be sent by whm)

    one of pre-coded scripts I've tested was returning the entire page of WHM in result and another one returns nothing at all :-S

    your helps are appreciated. Thanks so much :)
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    The following document is a good place to start:

    Authenticating API Function Calls

    If you need help making an API call, then the following option in Web Host Manager could be useful to you:

    "WHM Home » Development » API Shell"

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice