Nearly all cPanel actions are governed by cPanel API1 and API2 functions.

For your application, instead of creating your own API from scratch, we’re created the ability to add your application’s logic to the cPanel XML/JSON API. Essentially speaking, your custom cPanel Perl Module can create a remote window of access to your application’s functions to be used through the XML/JSON APIs, LiveAPI, or cPanel tags.

The ability to build and use Custom cPanel Modules is available in all current versions of cPanel.

We’ve updated our documentation and have provided a complete, working example of a custom cPanel Perl module, available for download on our Github account. This example Perl module, it's inline comments and POD documentation, along with prior existing documentation, should provide a great resource for anyone wishing to leverage the cPanel API!