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!

JSON-API Help

Discussion in 'cPanel Developers' started by Adelante, Nov 28, 2012.

  1. Adelante

    Adelante Registered

    Joined:
    Feb 7, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    I'm looking for some help on how I can get a list of all accounts on the server (specifically users) and a list of all domains under/associated with that users account (parked, addon, base, etc).

    Am I able to do this via the API?
     
  2. charsleysa

    charsleysa Active Member

    Joined:
    Jul 18, 2011
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Palmerston North, New Zealand
    cPanel Access Level:
    Root Administrator
    Yes, take a look at the cPanel XML-API documentation. The XML-API has a JSON option.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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