How can I enable system services using the WHM API?
The WHM API has the configureservice command that allows you to enable a system service:
whmapi1 configureservice service=mysql enabled=1 monitored=1
Service is the service you're enabling, enabled is if the service is enabled and monitored is if chksrvd will monitor the service.
WHM API 1 Functions - configureservice