The LiveAPI System provides environments for applications in the cPanel interface. Each environment provides a way for your code to interact locally with the cPanel binary,cpsrvd. This allows you to make cPanel API 1, cPanel API 2, and UAPI function calls via the socket.
Each LiveAPI class provides common elements to integrate with cPanel & WHM.
When you use these environments, the authenticated user executes the functions. Because of this, calls may fail if the authenticated user does not have adequate permissions.
You cannot use the LiveAPI system to call WHM API 0 or WHM API 1 functions.
cPanel & WHM version 11.28 and earlier used the LivePHP system, which provided similar functionality, but was specific to the PHP programming language.
cPanel & WHM provides the following classes for the LiveAPI system:
cPanel, WebHost Manager, and WHM are registered trademarks of cPanel, L.L.C. for providing its computer software that facilitates the management and configuration of Internet web servers. ®2020 All rights reserved.