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!

Create new cPanel account via API

Discussion in 'cPanel Developers' started by bhanu2217, Mar 25, 2019.

  1. bhanu2217

    bhanu2217 Registered

    Mar 25, 2019
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I am trying to do following

    Step 1: Create a cPanel account via API
    Step 2: Install a software(Faveo Helpdesk) in the cPanel via API

    Can you please help me how this can be achieved?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

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

    The following document is a good place to start when developing with our API functionality:

    Quickstart Development Guide - Developer Documentation - cPanel Documentation

    The specific WHM API 1 function you'll want to use for account creation is documented on the following link:

    WHM API 1 Functions - createacct - Developer Documentation - cPanel Documentation

    We don't offer an API function to install custom software applications, but you could develop a custom bash script to install the application and then enable it with the Accounts::Create hook if you want it automatically installed at account creation time. Here's a tutorial with an example of how you might do this:

    Tutorial - How to Setup Standardized Hooks with BASH in cPanel & WHM

    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