How to create and connect my custom script like WHMCS with my WHM?

hsn0

Member
Sep 16, 2014
5
0
1
cPanel Access Level
Reseller Owner
How can I create my custom script like WHMCS to connect with my WHM?

and what steps do I need to connect my website member system with my WHM?

suppose I already have my member system (Login/Register) but I want to connect it with my WHM so when any user register on my website he will be email his hosting details in the email.

in other words his account directly created on my WHM panel just registering on my website like others have to register any other script like WHMCS or box-billing for hosting.

I am a reseller hosting owner.

thaks
 

hsn0

Member
Sep 16, 2014
5
0
1
cPanel Access Level
Reseller Owner
this page has huge resources,
just tell me where from should I start , which documentation will leads me to the right direction from that developer page?

I want to manage my WHM through my custom script like Login/Register. when a user registers his account should register in WHM with the same details that he register on my register page form.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hello :)

The following document will help you get started with using our API:

cPanel - SDK

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Is there any example of PHP script how to Authenticate with my WHM from my php script?

although where from I can get security token variable for my script and what is example of security token use in php script?
Yes, you can find examples at:

Authenticating API Function Calls

Thank you.