WHMCS REST API Module
Let clients sell your products via API
The WHMCS REST API Module adds a REST API on top of WHMCS so your clients, resellers and partner systems can place orders, provision services, manage client records and work with invoices without going through your WHMCS client area. Access is controlled with API keys, and you set rate limits and quotas for each key. It is built for hosting companies that want other businesses to sell their products through custom storefronts and automated integrations.
What the WHMCS REST API Module does
It turns your WHMCS catalog, ordering and billing into an API that outside parties can call safely. WHMCS ships with its own API, but that API is aimed at admin-level integrations that use API credentials you create for your own systems. This module targets a different audience: the clients and resellers who sell your products to their own customers.
- Order and provisioning API: create orders and provision services from an external storefront, app or script.
- Client management endpoints: register and manage client records programmatically.
- Invoice and payment API: work with invoices and payments from the partner's own system.
- Product catalog API: pull your product catalog so a partner storefront can show what you sell.
- Webhook notifications: push events to the partner's system so it does not have to poll the API.
- Access control: secure API key authentication, rate limiting and quota management per key.
- Developer material: detailed API documentation, an SDK and code samples.
On the admin side you get an API management dashboard with key management and usage analytics, so you can see which partner is calling what.
Who it is for
The module fits hosting providers that sell through other businesses, not only to end customers. Typical cases:
- Resellers who want their own branded storefront that places orders with you in the background.
- Agencies and software platforms that include hosting in their own product and need orders to reach WHMCS automatically.
- Your own internal tools, such as a custom signup flow or a partner portal, that should not run on admin API credentials.
- Operators who automate bulk operations, such as batches of orders or client imports, through scripts.
If your resellers work inside a branded client area rather than through code, the WHMCS Reseller Module with sub-accounts may be the better fit. Many providers use both.
How it works in WHMCS
The API becomes a new entry point into the products, server modules and payment gateways you already run.
- Upload the module to your WHMCS installation and activate it.
- Create an API key for each client or reseller who should have access.
- Set the permissions and rate limits for each key, so every partner gets only the access and request volume you allow.
- Share the API documentation, SDK and code samples with the partner's developers.
- The partner's storefront reads your product catalog and sends orders through the order endpoint.
- Orders land in WHMCS, and once they are paid, the usual WHMCS automation and the product's server module take over provisioning.
- Webhook notifications tell the partner's system about events, and you track usage in the API management dashboard, adjusting or revoking keys when needed.
Requirements and compatibility
The module is listed as compatible with WHMCS 8.13 and needs PHP 8.1 or newer. The technical specs also list MySQL 5.7 or newer. If you run an older WHMCS release, contact us before you buy so we can confirm compatibility for your setup.
Licensing, updates and support
You can choose between two one-time licenses. Both are lifetime licenses.
| License | Price | What you get |
|---|---|---|
| Regular | $499 | Encrypted module with all features |
| Open Source | $1,499 | Full unencrypted source code you can modify and customize |
Each license includes 1 year of updates and support. After that, support renewal is optional at $99 per year. You get an instant download and a license key after purchase, and there is a 7-day refund window.
Related modules and services
If you need endpoints or workflows beyond what the module covers, our team handles custom WHMCS API integration work. For a full reseller program, read the WHMCS reseller setup guide or look at our reseller module setup service. More admin tools are listed under WHMCS management modules.
Key features
- Full REST API for all WHMCS operations
- Secure API key authentication
- Rate limiting and quota management
- Complete order and provisioning API
- Client management endpoints
- Invoice and payment API
- Product catalog API
- Webhook notifications
- Detailed API documentation
- SDK and code samples
Why customers buy this module
- →Let resellers build custom storefronts
- →Automate bulk operations
- →Integrate with any third-party system
- →Scale your business with API partners
Frequently asked questions
What is the difference between the Regular and Open Source license?
The Regular license ($499) is the encrypted module with all features. The Open Source license ($1,499) includes the full unencrypted source code, so you can modify and customize the module.
Can my clients use the API to create orders?
Yes. The API supports order creation, client registration and service provisioning, so resellers can run their own storefront on top of your WHMCS.
Does the WHMCS REST API Module have rate limiting?
Yes. You configure rate limits and quotas per API key to prevent abuse, so you control how many requests each client can make.
How is this different from the built-in WHMCS API?
The built-in WHMCS API is designed for admin-level integrations with admin API credentials. This module gives clients and resellers their own REST API keys, with rate limits, quotas and webhook notifications.
Does the module send webhooks?
Yes. Webhook notifications push events to the partner's system, so it does not need to poll the API for changes.
Is there documentation for developers?
Yes. The module comes with detailed API documentation, an SDK and code samples your partners can start from.
Which WHMCS and PHP versions does it support?
The module is listed as compatible with WHMCS 8.13 and requires PHP 8.1 or newer.
Technical specifications
- supportedVersions
- WHMCS 7.0 through 8.x
- installation
- Upload module, configure API keys, set permissions
- requirements
- PHP 7.4+, MySQL 5.7+, WHMCS 7.0+
- adminUI
- API management dashboard, usage analytics, key management