The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page