PHPMyLicense API

get
Validate License by Hostname

https://yourpmlinstall.tld/api/validate/host/:host/:product
Validate your licenses by Hostname.
Request
Response
Request
Path Parameters
host
optional
string
Server Host, Domain or IP Address.
product
required
integer
Product ID. Can be found at Products Page.
Response
200: OK
License is Valid
{
"status":200,
"message":"License is valid.",
"parameters":{
"param":""
},
"licensedata":{
"domain":"kkk.com",
"customer_email":"[email protected]",
"licensekey":"PML-204E-68G0-P2TH-H3Q21svc",
"expirydate":"1545962400",
"issued-by":"2",
"comments":"komen"
},
"signature":"ftAX+sQMlGv+neK5utf9MTHNKHU0nYzOkb39hbxgFTIJfcoutNkvw6794C4utypAgqeM2EqX\/qCSRQ+ViuGcFsAqUX5wad9hhIj968U8LgQ+SedXpCdtSSd448zvdcjijDZq53Hm1Z3gwcsfQp\/ESbsPl2BnH\/0OKo+T7gmbueMkSJhxPrVWS3SWdNsX8fL5nnlMYDrFAOVeUHVseElgkeDM+un06yI3o8WkIisVv\/UxCBJW46w7kL\/C6rrJ+ngERxwCRZi+rBz7M\/XCVU1MBy8ngae6iLJ+5wY+YRPzPo4PksGA3\/XJfY2bS3KaeOFVb4DvRBwGxD3QIf7ycBe\/0Q=="
}
403: Forbidden
{
"status":403,
"message":"Your license is inactive. Maybe, you need to activate it.",
"signature":"VQRNusCXtbGY6DlEkUYN0h8acOycSTLPwRuPmu1RghVW8CIbxQnZE9BTddJjaUI2j7McvZXdwlPNB2wT843TePk5KXv2DphSw0jpSpwHwA28HA8QLubW2Q2wqOiJeDBe69ZZl9OiunwEThSOheEuoqFVGnb2YSWnGJHlAuQCKD9FGpnQMgDZQQOLqgu8VbMWgisCDdMvipy+quwB5UkjZONjy3fYfRGQ3duFYO2\/TviytvQLC7w8\/JRpkMqXey9zTXDXTkaRcfO+MN7nqy2h9v2McmArkq6t2q4hw+5psySpEILjrQCJUiuElw0411wYUolx2yKYhwWLQF3ORhaQAg==",
"signaturetype":"raw_base64"
}
404: Not Found
Could not find a cake matching this query.
{
"status":404,
"message":"License not Found",
"signature":"rZ8Ut8N4FP07fP4plW00ZzuZPAxzSKSV3r+UPVdaI2Yoqu6QOmVTxPx20f+WCI6R+7u4uewtocRVtAL2cQVLNSN8pwQbbT7RI1ABXCbZwxT7rpHUa8RLVn70ov6Ewgeuf9bfU5fYmQnDGJTfFUI4tmO\/2hINAUtLknmlHyY9ZA46SnLStFs0J6itDkCIew4\/a7C3nO0s666WQGEQGYsrrFnkX5L02L5Kwpq1b7dh2DgNPqgDkScXCY6xNvoalHT3siCaZrzp8vnJ2Epe8ny5NGg9padc86OgoMMofRfyGLjJRRNzdN5Nyj1mmw3\/kYUmz0fxZB44jdZixM+sUZsEiA=="
}

get
Validate LIcense by License Key

https://yourpmlinstall.tld/api/validate/licensekey/:licensekey/:product
Request
Response
Request
Path Parameters
licensekey
optional
string
Your customer's license key.
product
required
integer
Product ID. Can be found at Products Page.
Response
200: OK
{
"status":200,
"message":"License is valid.",
"parameters":{
"param":""
},
"licensedata":{
"domain":"kkk.com",
"customer_email":"[email protected]",
"licensekey":"PML-204E-68G0-P2TH-H3Q21svc",
"expirydate":"1545962400",
"issued-by":"2",
"comments":"komen"
},
"signature":"ftAX+sQMlGv+neK5utf9MTHNKHU0nYzOkb39hbxgFTIJfcoutNkvw6794C4utypAgqeM2EqX\/qCSRQ+ViuGcFsAqUX5wad9hhIj968U8LgQ+SedXpCdtSSd448zvdcjijDZq53Hm1Z3gwcsfQp\/ESbsPl2BnH\/0OKo+T7gmbueMkSJhxPrVWS3SWdNsX8fL5nnlMYDrFAOVeUHVseElgkeDM+un06yI3o8WkIisVv\/UxCBJW46w7kL\/C6rrJ+ngERxwCRZi+rBz7M\/XCVU1MBy8ngae6iLJ+5wY+YRPzPo4PksGA3\/XJfY2bS3KaeOFVb4DvRBwGxD3QIf7ycBe\/0Q=="
}
403: Forbidden
{
"status":403,
"message":"Your license is inactive. Maybe, you need to activate it.",
"signature":"VQRNusCXtbGY6DlEkUYN0h8acOycSTLPwRuPmu1RghVW8CIbxQnZE9BTddJjaUI2j7McvZXdwlPNB2wT843TePk5KXv2DphSw0jpSpwHwA28HA8QLubW2Q2wqOiJeDBe69ZZl9OiunwEThSOheEuoqFVGnb2YSWnGJHlAuQCKD9FGpnQMgDZQQOLqgu8VbMWgisCDdMvipy+quwB5UkjZONjy3fYfRGQ3duFYO2\/TviytvQLC7w8\/JRpkMqXey9zTXDXTkaRcfO+MN7nqy2h9v2McmArkq6t2q4hw+5psySpEILjrQCJUiuElw0411wYUolx2yKYhwWLQF3ORhaQAg==",
"signaturetype":"raw_base64"
}
404: Not Found
{
"status":404,
"message":"License not Found",
"signature":"rZ8Ut8N4FP07fP4plW00ZzuZPAxzSKSV3r+UPVdaI2Yoqu6QOmVTxPx20f+WCI6R+7u4uewtocRVtAL2cQVLNSN8pwQbbT7RI1ABXCbZwxT7rpHUa8RLVn70ov6Ewgeuf9bfU5fYmQnDGJTfFUI4tmO\/2hINAUtLknmlHyY9ZA46SnLStFs0J6itDkCIew4\/a7C3nO0s666WQGEQGYsrrFnkX5L02L5Kwpq1b7dh2DgNPqgDkScXCY6xNvoalHT3siCaZrzp8vnJ2Epe8ny5NGg9padc86OgoMMofRfyGLjJRRNzdN5Nyj1mmw3\/kYUmz0fxZB44jdZixM+sUZsEiA=="
}