Developer API

Integrate BoostonCP's "Neural Core" into your own apps, billing systems, and automation tools.

Authentication

All API requests must include your unique API Key in the request header or as a query parameter. You can generate keys in the Admin Panel > API Manager.

X-Booston-API-Key: YOUR_API_KEY

Account Orchestration

POST /api/whmcs.php?action=create

Initialize a new hosting account with system user, web root, and package limits.

ParameterTypeDescription
username *StringDesired system username.
password *StringSecure password for the user.
email *StringPrimary contact email.
package_id *IntegerThe BoostonCP Package ID.
curl -X POST "https://your-panel.com:2087/api/whmcs.php?action=create" \
-H "X-Booston-API-Key: bc_5f8d..." \
-d "[email protected]&package_id=1"

Telemetry & Data

GET /api/whmcs.php?action=get_stats

Fetch real-time usage statistics and account counts from the neural core.