Skip to main content

How to Create an API Token for Your WHM Reseller Account

You can create an API token to allow applications or scripts to interact with your WHM reseller account securely. This process allows you to perform administrative tasks without sharing your primary account password.

You can create an API token to allow applications or scripts to interact with your WHM reseller account securely. This process allows you to perform administrative tasks without sharing your primary account password.

Before you begin

You will need:

  • A WHM reseller account

  • Access to the WHM interface

Create your API token

  1. Log in to your WHM account.

  2. In the left-hand sidebar, go to Security Center > Manage API Tokens.

  3. Click Create New Token.

  4. Enter a name for the token to identify its purpose (e.g., "Reporting Tool" or "Automation Script").

  5. Select the appropriate permissions for the token.

  6. Click Create.

Warning: Your API token is a sensitive security credential. Anyone with access to this token can perform actions on your behalf based on the permissions you assigned.

Confirm the result

  • A success message will appear confirming the token was created.

  • The new token will be displayed on the screen.

Note: You must copy and save the token immediately. For security reasons, the full token value will not be shown again once you leave this page.

How to Revoke an API Token for Your WHM Reseller Account

If a token is no longer needed or if it has been compromised, you can revoke it to prevent unauthorized access.

  1. In WHM, go to Security Center > Manage API Tokens.

  2. Locate the token you wish to remove.

  3. Click the Revoke button next to that token.

Limitations

The permissions available for your API token are determined by the privileges granted to your account by the server administrator. If certain options are unavailable, your account may have restricted permissions.

Did this answer your question?