Your Hosting is Our Responsibility
Client Area
โœฆ SKPHOST HELP CENTER

How to Generate a WHM API Token

WHM Tutorials

How to Generate a WHM API Token?


A WHM API Token allows external applications (like billing software) to interact with WHM securely without using your actual password. API tokens are more secure than passwords for automated integrations.

Generate a WHM API Token

  1. Login to WHM.
  2. Go to Development โ†’ Manage API Tokens.
  3. Click Generate Token.
  4. Enter a Token Name (e.g., "WHMCS Integration", "Billing System").
  5. Set an optional Expiry Date โ€” leave blank for no expiry.
  6. Set Privileges โ€” you can restrict the token to specific API functions only.
  7. Click Generate.
  8. Copy the generated token immediately โ€” it is only shown once.

Important: Copy and save the API token immediately after generation. WHM does not show the token again after you leave this page. If lost, you must generate a new token.

Using the API Token in Integrations

When connecting external software to WHM:

  • Use your WHM username as the username.
  • Use the API Token as the password (not your actual WHM password).
  • The software communicates with WHM over HTTPS on port 2087.

Manage Existing API Tokens

  1. Go to WHM โ†’ Development โ†’ Manage API Tokens.
  2. View all existing tokens with their names and creation dates.
  3. Click Revoke next to a token to immediately disable it.

Security Best Practice: Create separate API tokens for each integration. If one integration is compromised, you can revoke only that token without affecting others.

If you continue to face issues, please open a create a request.

Expert Support

Helpful support whenever you need assistance.

โ†’

Reliable Infrastructure

Infrastructure engineered for stability and performance.

โ†’

Fast Deployment

Get supported services provisioned quickly and efficiently.

โ†’

Secure & Reliable

Security-focused hosting with backup options for supported services.

โ†’