How to create API tokens in cPanel

July 25, 2022 / cPanel & WHM

This article explains, how to create API tokens in cPanel.

 

API stands for Application Programming Interface. It is a unique ID or identification that enables an application to access a facility. From version 80 onwards, API Tokens can be created and managed via cPanel. The API token’s main goal is to allow a user to access the server without having to log in with a password. By issuing API tokens, it is simple to grant permissions to resellers or third-party developers to carry out operations.

 

Let’s take a look at how to make API tokens:

  1. Go to your cPanel account and log in.
    Login to cPanel
  2. Select “Manage API” Tokens from the “SECURITY” section.
    Manage API token
  3. A panel called “Manage API Tokens” will appear.
  4. To begin, you’ll need to create a new API token.
  5. In the “API Token Name” column, type the name of the API token.
  6. Select the option “Specify an expiration date”.
  7. In the “API Token Expiration Date”, choose a date from the calendar.
  8. The token will be valid till that time.
  9. Select “Create”.
    Create API Token
  10. The API token named “cPanel” is created as shown in the image given below.
    API Token
  11. A success message will be displayed while cPanel creates a new token.
    success
  12. Copy the API token to a secure location so you may subsequently deliver it to your operator.
  13. To save your token, click the “Yes, I Saved My Token” button.
    Save token
  14. You will receive a success message for copying the token.
    success
  15. This API token you created has now been added to the active API tokens list.
    active API tokens list

Important note: The option The API Token will not expire is present, however experts highly advise against this.

This way one can create API tokens in cPanel. One of the most crucial characteristics in your company’s growth and success is web hosting assistance. Every website has issues once in a while, and having a qualified team with a lot of expertise is the best approach to handle the difficulty and set your anxieties to peace.

Dominos Search