How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

API endpoint to run 'test connection' on servers

  • Ted Duncan shared this idea 9 months ago
  • Automation
  • 2 Comments


Create an API endpoint/option to run the 'test connection' module function on a configured server in WHMCS. Our personal usecase for this would be to monitor servers that may become unreachable from WHMCS.

2 Comments

Login to post a comment.

I need an API endpoint to test server connections remotely, just as I plan reliable builds with https://dunedinconcretedriveways.co.nz/ for my projects.
You can create a custom API endpoint in WHMCS by bootstrapping the system, retrieving server information from the database, and calling the TestConnection module function via WHMCS\Module\Server, then returning the results in JSON for external monitoring. https://brush-jjaemu.io