BuycPanel Blog

BuycPanel Blog

Latest news and updates

What are API Tokens in cPanel

Posted by Allison on 24 10 2017.

CPanel’s Unique Identifier
An API Token is a unique identifier of an application which requires service access. The concerned service provider generates an API token. The token then generated can be matched with the one already in store in order to authenticate. An API token is a replacement for sending username/ password combination over HTTP which is not exactly a secure transmission source. However forging of API token remains as a persisting problem, which can be countered by requesting for an access token.
Access to API Token
An API token can be created by performing the following steps.

 	Click Generate Token-the generate token form will appear on the screen
 	A name for the API token in the Name Text Box has to be entered.  The API token name should not be longer than 50 characters, the name can contain only alphanumeric characters dashes (-) and underscores(_)
 	Click Generate. In the API  tokens menu…

CPanel’s Unique Identifier

An API Token is a unique identifier of an application which requires service access. The concerned service provider generates an API token. The token then generated can be matched with the one already in store in order to authenticate. An API token is a replacement for sending username/ password combination over HTTP which is not exactly a secure transmission source. However forging of API token remains as a persisting problem, which can be countered by requesting for an access token.

Access to API Token

An API token can be created by performing the following steps.

  • Click Generate Token-the generate token form will appear on the screen
  • A name for the API token in the Name Text Box has to be entered.  The API token name should not be longer than 50 characters, the name can contain only alphanumeric characters dashes (-) and underscores(_)
  • Click Generate. In the API  tokens menu the new API token, its name and creation time will appear. API token should be saved in a safe location on the user’s The token becomes inaccessible once the user navigates away from the interface or refreshes the API token table.

CPanel’s Emerging Security Tool

The API token can be used with the following features – a) WHM  API functions b) DNS clusters c) Configuration Clusters. API tokens cannot be created for a suspended account. On deleting a  cPanel account the system automatically revokes the accounts API token. API tokens continue to function even when there is a change in cPanel accounts username  WHM’s Modify an Account interface. API tokens allow the user to login to the server without the need for a password. The user can use an API Token to authenticate with WHM ‘s API.  cPanel and WHM support several API authentication methods, the process of authentication accesses the server in order to run specific code in relation to cPanel on WHM user with a specific set of permissions.

The API Token – An effective Tool

The API Token is an effective tool for web oriented business ventures. The direct linking to service provider eases and fastens up the user control process. The digital operations interface is susceptible to wider web threats, security, therefore, is of utmost importance in this context. Web Hosting Companies, therefore, use the unique identifier tool the API Token while negotiating the various web activities.  The direct linking to the server is an important feature of the API Tokens.