🟪
SunLicense Docs
  • Welcome
  • Getting Started
    • Quickstart
    • VPS Setup
  • API Documentation
    • License API
    • Java API
  • Automations
    • BuiltByBit Automation
    • Discord Automation
  • PRODUCT INTEGRATIONS
    • Minecraft Plugins
    • Server Software
    • Minecraft Mods
    • Discord Bots
    • FiveM Projects
    • PHP Projects
    • Python Projects
    • JavaScript Projects
    • Lua Projects
  • SERVICES
    • Managed Hosting
  • LINKS
    • Discord
    • Store
    • Java API Wrapper
    • Sample Project
    • Pterodactyl Egg
    • Other Products
Powered by GitBook
On this page
  1. API Documentation

License API

License Validation Request V1

POST /api/v1/validate

Api request that can be used to validate product license

Headers

Name
Value

Content-Type

application/json

Body

Name
Type
Description
Type

licenseKey

string

License Key of the User

Required

productId

number

Product Id of the license

Required

hwid

string

Hardware id of the device

Required

productVersion

string

Product Version

Optional

ip

string

Client-Provided IP Address

Optional

macAddress

string

MAC Address

Optional

operatingSystem

string

Operating System of the device

Optional

operatingSystemVersion

string

OS Version of the device

Optional

operatingSystemArchitecture

string

CPU Architecture of the device (ARM / x86)

Optional

javaVersion

string

Java Version installed in the device

Optional

Response

{
    "message": "License validated",
    "status": 200,
    "timestamp": "2025-01-27T19:01:25.710+00:00"
}
{
    "message": "Max IPs reached",
    "status": 400,
    "timestamp": "2025-01-27T20:01:34.140+00:00"
}

PreviousVPS SetupNextJava API

Last updated 4 months ago

960B
SunLicense.postman_collection.json
Postman Collection