API v2.0 (RC)

This document will guide you how to use ResellerCenter's new API system, Please contact support if you had any issue.

Requirements

using RC's API system requires valid API token, if you are not part of our reseller program you can get a reseller account from : License.Cheap

Register license


request
GET https://api.resellercenter.ir/rc/license.php?token=TOKEN&ip=LICENSE_IP&type=PRODUCT

Sample :

GET https://api.resellercenter.ir/rc/license.php?token=00123456789ABCDEFG&ip=8.8.8.8&type=cpanel

parameters
parameter description
Token your valid reseller token
ip the IP address you need license for
type product name such as cpanel, litespeed, cloudlinux , etc

Renew license


request
GET https://api.resellercenter.ir/rc/ReNew.php?token=TOKEN&ip=LICENSE_IP&type=PRODUCT

Sample :

GET https://api.resellercenter.ir/rc/ReNew.php?token=00123456789ABCDEFG&ip=8.8.8.8&type=cpanel

parameters
parameter description
Token your valid reseller token
ip the IP address you need license for
type product name such as cpanel, litespeed, cloudlinux , etc

Change license IP


request
GET https://api.resellercenter.ir/rc/ChangeIp.php?token=TOKEN&ip=LICENSE_IP&type=PRODUCT&newip=NEW_LICENSE_IP

Sample :

GET https://api.resellercenter.ir/rc/ChangeIp.php?token=00123456789ABCDEFG&ip=8.8.8.8&type=cpanel&newip=1.1.1.1

parameters
parameter description
Token your valid reseller token
ip the IP address you need license for
type product name such as cpanel, litespeed, cloudlinux , etc
newip new license IP address

Change LiteSpeed core


request
GET https://api.resellercenter.ir/ChangeCore.php?ip=LICENSE_IP&core=8&token=TOKEN

Sample :

GET https://api.resellercenter.ir/ChangeCore.php?ip=8.8.8.8&core=8&token=00123456789ABCDEFG

parameters
parameter description
Token your valid reseller token
ip the IP address you need license for
core Number of core : 2 , 4 , 8 or 9 (9 is XCore)

softaculous , sitepad and FleetSSL licenses that come free with cPanel license will be renewed automatically with cPanel renewal. cPanel change IP will also effect your free softaculous , sitepad license and FleetSSL, by changing cPanel license IP , sitepad and softaculous IP's will also change


Developer note : Developers who want to create custom scripts using our API have in mind that both GET and POST is supported.