Parameter name for cpsess?
-
Hello! The cpsess part of the URL will normally show when you are logged into cPanel in the URL. If you are adding that into a script or application, you will likely want to use an API Token instead. This shows how to set those up. Guide to API Authentication - API Tokens - Software Development Kit - cPanel Documentation You can generate those tokens under Manage API Tokens in WHM. Manage API Tokens - Version 64 Documentation - cPanel Documentation Thanks! 0 -
Hello! The cpsess part of the URL will normally show when you are logged into cPanel in the URL. If you are adding that into a script or application, you will likely want to use an API Token instead. This shows how to set those up. Thanks!
This links does not describe what we have to put in place of cpsess########## in script?0 -
You can either log into cPanel manually and get the cpsess### from the url that is generated after you log in, or you can use the create_user_session api call to generate that. This shows the syntax for api call. WHM API 1 Functions - create_user_session - Software Development Kit - cPanel Documentation 0
Please sign in to leave a comment.
Comments
3 comments