Remote Access Key

From Acenet Knowledgebase
Jump to: navigation, search

WHM provides you with a Remote Access Key for allowing 3rd party scripts to access your WHM on Reseller, Virtual, or Dedicated plans. You can allow external scripts to perform a multitude of tasks from account creation, account termination, account suspensions and much more.

Many popular scripts which integrate and communicate with cPanel/WHM require your Remote Access Key for accessing your server. The popular billing software WHMCS is one such example. WHMCS allows for automatic signups, automatic account creation, and configuration of hosting packages. WHMCS is only one such example, there are many scripts out there which allow you to perform WHM tasks externally via use of the Remote Access Key.

In addition to prewritten scripts, if you are familiar with a scripting language such as PHP or Perl, you can custom code your own web-based applications.

A word of warning, use of the Remote Access Key in custom applications requires extensive familiarity with your scripting language of choice.

Luckily, cPanel already provides you with the API needed for communicating with your WHM interface. Documentation regarding cPanel's XML API can be found in the cPanel XML API Documentation

In combination with your Remote Access Key, cPanel's XML API functions allow you to remotely or automatically perform WHM tasks.

The actual implementation of cPanel's API is beyond the scope of our knowledgebase. However, we have included some great utilities for getting familiar with cPanel's XML API functions.


Related Topics

Generate a Remote Access Key

cPanel Forum Thread Discussing XML API

XML API Code Sample

XML Parser at php.net