Generating an API token in WHM allows secure programmatic access to your server without using your root password. TZSMM Host walks you through the steps to create a token safely.
Open your WHM panel via https://your_server_ip:2087 or https://your_server_hostname:2087 and log in with your root credentials.
In the WHM dashboard, search for Manage API Tokens in the search bar or navigate to Development > Manage API Tokens.
Click the Create button. Enter a descriptive name for your token, such as WHMCS Integration or Automation Script.
Select the permissions required for your API token. Only grant access necessary for the tasks you intend to perform, such as account creation, DNS management, or server statistics.
Click Create to generate the token. WHM will display the token once — copy it immediately and store it securely. You won’t be able to see it again.
API tokens in WHM provide secure and convenient access for automation, scripts, or WHMCS integration. Always assign minimal required permissions and keep the token private for your server’s security.
34 Users Found This Useful (114 Votes)