ApiDQ license get service #
The service allows you to get information about the current ApiDQ license: status, expiration date, and validity flag.
Method address #
GET /license
Query parameters #
This method takes no parameters.
Request data example #
curl "https://api.apidq.io/v1/license" \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
Response options #
| Parameter | Description |
|---|---|
| isValid | Whether the license is valid |
| status | License status code |
| message | Human-readable description of the status |
| expiresAt | License expiration date (ISO 8601 format) |
Possible status values
#
| Value | message | isValid |
|---|---|---|
| LICENSE_STATUS_OK | License is active | true |
| LICENSE_STATUS_EXPIRING | License is expiring soon | true |
| LICENSE_STATUS_EXPIRED | License has expired | false |
| LICENSE_STATUS_INVALID | License is invalid | false |
| LICENSE_STATUS_NOT_FOUND | License not found | false |
Response data example #
{
"isValid": true,
"status": "LICENSE_STATUS_OK",
"message": "License is active",
"expiresAt": "2026-07-01T00:00:00Z"
}