Hook WHMCS to a cPanel reseller server
Once connected, WHMCS can create, suspend, and terminate cPanel accounts on your reseller WHM without manual WHM clicks.
License required
WHMCS must already be installed. PosaHosting sells discounted licenses—order one here or follow Softaculous installation.
What you need
- Active cPanel reseller login
- WHMCS admin access on the same or another hosting account
1. Create a WHM API token
Sign in to WHM on your reseller account.
Open Development → Manage API Tokens (wording may vary by WHM version).
Generate a token named e.g.
WHMCSwith permissions to list, create, and suspend accounts.Copy the token immediately—it is shown only once.
2. Add the server in WHMCS
WHMCS admin → System Settings → Servers → Add New Server.
Fill in:
- Name — label for your reference
- Hostname — reseller hostname or IP
- Type — cPanel
- Username / Password — reseller WHM credentials
- Access Hash — paste the API token
Run Test Connection, then save.
3. Group the server
Still under Servers, create a group (e.g.
cPanel cluster).Set fill mode to Add to the least full server and attach the server you just added.
4. Create a sellable product
System Settings → Products/Services → create a product group, then Create a New Product.
Type: Hosting Account. Module: pick the server from step 2. Set pricing and cycle.
Save the product.
5. Optional configurable options
Under Configurable Options, define extras (disk, bandwidth) and link them to the product if you sell à la carte resources.
6. Place a test order
Run a $0 or internal test checkout. WHMCS should provision a fresh cPanel user on the reseller node. If it fails, recheck the API token scopes and hostname.