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!

securtiy Token compatible urls

Discussion in 'General Discussion' started by samend, Jan 27, 2015.

  1. samend

    samend Member

    Joined:
    Dec 15, 2014
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello Community,

    i would like to use the WHMAPI1 functions via urls, but i have an problem with the usage of security tokens.


    i have tested this solution but it don't works on my cloudlinux machine:
    https://XXX.XXX.XXX.XXX:2087$ENV{'cp_security_token'}/xml-api/accountsummary?api.version=1&user=billiard

    Is there an other way to add an variable in the above named url with the newl generated security token?
     
  2. samend

    samend Member

    Joined:
    Dec 15, 2014
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    The Topic can be closed the solution was described in the API Guide!
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    I am happy to see the issue has been resolved. Note that documentation on this topic is available at:

    Guide to API Authentication

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

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