CPanel API - How to get Security Token "cpsess##########" using webrequest/HttpClient in C#

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
11,638
1,847
363
cPanel Access Level
Root Administrator
Hey there! The best information I have for this will be found here:


as that covers creating a token, assigning permissions, and using the token with API calls. There is a Curl example provided at the bottom of the page as well, but I don't have any examples on my end for the C# language.