Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

WHM API 1 Access Hash

Discussion in 'cPanel Developers' started by tecwithquestion, Mar 9, 2017.

  1. tecwithquestion

    tecwithquestion Well-Known Member

    Oct 20, 2014
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    I have two questions.

    1. how to fetch remote access key from remote server using whm api
    2. how to add server in dns cluster using whm api . I found api add_configclusterserver but that is not what I want. I want to add server in dns cluster with role write-only.

    any help much appreciated.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    1. Here's the WHM API 1 function you are looking for:

    WHM API 1 Functions - get_remote_access_hash - Software Development Kit - cPanel Documentation

    However, I do want to note that as of cPanel version 64, we strongly recommend that you use the API token method to authenticate with a WHM server:

    Manage API Tokens - Version 64 Documentation - cPanel Documentation

    2. There's no corresponding WHM API 1 function, however upon the initial DNS cluster setup in WHM, you can find the DNS cluster configuration data stored in the following directory:


    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice