📚 API Documentation
Overview
The eCare License API allows you to validate licenses and check for updates from your WordPress plugins.
Base URL:
https://li.clickdemo.site/api
POST
/api/validate
Validates a license key for a specific domain.
Request Body
{
"license_key": "LIC-XXXXXXXX",
"domain": "example.com",
"current_version": "1.0.0"
}
Response
{
"status": "valid",
"license_type": "yearly",
"expiry_date": "2025-12-31",
"update_available": true,
"download_url": "https://...",
"signature": "..."
}
GET
/api/latest-version
Returns information about the latest available version.
Response
{
"version": "1.2.0",
"changelog": "Bug fixes and improvements",
"download_url": "https://...",
"release_date": "2025-01-01 00:00:00"
}
📄 For interactive documentation, visit Swagger UI