GET /license/info
Returns information about the user's active license, including enabled countries, credits, license type, and premium support details.
Response 200
| Field |
Type |
Description |
countries |
String[] |
List of enabled countryIso2 codes for the license |
premiumSupportHours |
PremiumSupportHours |
Premium support hours details |
exploreLicense |
ExploreLicense |
Explore license details |
PremiumSupportHours
| Field | Type | Description |
total | Int | Total premium support hours |
delivered | Int | Delivered hours |
remaining | Int | Remaining hours |
Credits (-1 means unlimited)
| Field | Type | Description |
available | Int | Available credits (-1 = unlimited) |
total | Int | Total credits (-1 = unlimited) |
ExploreLicense
| Field | Type | Description |
financialCredits | Credits | Financial credits |
downloadsCredits | Credits | Downloads credits |
emailGenerationCredits | Credits | Email generation credits |
licenseType | LicenseType | License type (ONE, LITE, PLUS) |
exploreLiteProperties | ExploreLicenseProperties | Explore Lite properties |
explorePlusProperties | ExploreLicenseProperties | Explore Plus properties |
ExploreLicenseProperties
| Field | Type | Description |
isEnabled | Boolean | License enabled |
isFreeTrial | Boolean | Free trial license |
isAutoRenew | Boolean | Auto-renew enabled |
price | Float | Price in euro (€) |
subscriptionType | SubscriptionType | Subscription type (MONTHLY, ANNUAL) |
activationDate | Date | Activation date (RFC 3339, timezone) |
expirationDate | Date | Expiration date (RFC 3339, timezone) |
credits | Credits | Associated credits |
Enum LicenseType
ONE – Base license, ignore exploreLiteProperties and explorePlusProperties
LITE – Lite license, consider only exploreLiteProperties
PLUS – Plus license, consider only explorePlusProperties
Enum SubscriptionType
MONTHLY – Monthly
ANNUAL – Annual
Example
{
"countries": ["IT", "FR", "DE"],
"premiumSupportHours": {
"total": 10,
"delivered": 4,
"remaining": 6
},
"exploreLicense": {
"financialCredits": { "available": 100, "total": 200 },
"downloadsCredits": { "available": 50, "total": 100 },
"emailGenerationCredits": { "available": 20, "total": 50 },
"licenseType": "PLUS",
"exploreLiteProperties": {
"isEnabled": true,
"isFreeTrial": false,
"isAutoRenew": true,
"price": 99.99,
"subscriptionType": "MONTHLY",
"activationDate": "2024-01-01T00:00:00Z",
"expirationDate": "2025-01-01T00:00:00Z",
"credits": { "available": 10, "total": 20 }
},
"explorePlusProperties": {
"isEnabled": true,
"isFreeTrial": false,
"isAutoRenew": false,
"price": 199.99,
"subscriptionType": "ANNUAL",
"activationDate": "2024-01-01T00:00:00Z",
"expirationDate": "2025-01-01T00:00:00Z",
"credits": { "available": 5, "total": 10 }
}
}
}
Example curl call
curl -X GET "/license/info" \
-H "x-api-key: <API_KEY>"