Skip to main content

REST Query for getting authenticated session token

Comments

2 comments

  • Infopro
    Have you seen this thread? How to get session's security token c# - cPanel Forums
    0
  • ck
    Have you seen this thread? How to get session's security token c# - cPanel Forums

    Thanks for the quick response, appreciate it. I had checked out the links prior to posting, but could not find any specific information as well as the JSON API to call. We are authenticating under two types of scenarios - WHM root, WHM reseller, and end user cPanel. The last option is what we are trying to find out now whereby a JSON query containing the end user cPanel login credentials is being sent in the first call, and the security token returned in the response. This way we can send the second JSON query embedding the security token. If there is any other way around it, i am all ears :) Cheers
    0

Please sign in to leave a comment.