1. Licenses
MHL License API
  • Resellers
    • Test Connection
      POST
  • Licenses
    • Register a new license
      POST
    • Renew License
      POST
    • Suspend License
      POST
    • UnSuspend License
      POST
    • Terminate License
      POST
    • Change IP Address
      POST
    • Get License Information
      POST
  1. Licenses

Get License Information

POST
/licenses/getKey

Request

Authorization
API Key
Add parameter in query
reseller_token
Example:
reseller_token: ********************
or
Body Params multipart/form-data

Responses

🟢200Licenses Information
application/json
Bodyapplication/json

🟠403Invalid Reseller Token
🟠400Bad Request
🟠404Service Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.myhostlicenses.com/licenses/getKey' \
--form 'reseller_token="Your Reseller Token"' \
--form 'client_ip="127.0.0.1"' \
--form 'service=""' \
--form 'domain=""'
Response Response Example
200 - License Information
{
    "status": 200,
    "client": {
        "ip": "122.215.101.243",
        "installCommand": "aliquip Ut enim laboris",
        "uninstallCommand": "occaecat esse",
        "needKey": false,
        "is_suspended": false,
        "expiry_date": "2026-08-25",
        "license_key": "laborum occaecat nostrud aute enim",
        "domain": "apt-typewriter.biz"
    }
}
Modified at 2026-08-23 09:58:23
Previous
Change IP Address
Built with