ApiDQ license get service

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 #

ParameterDescription
isValidWhether the license is valid
statusLicense status code
messageHuman-readable description of the status
expiresAtLicense expiration date (ISO 8601 format)

Possible status values #

ValuemessageisValid
LICENSE_STATUS_OKLicense is activetrue
LICENSE_STATUS_EXPIRINGLicense is expiring soontrue
LICENSE_STATUS_EXPIREDLicense has expiredfalse
LICENSE_STATUS_INVALIDLicense is invalidfalse
LICENSE_STATUS_NOT_FOUNDLicense not foundfalse

Response data example #

{
  "isValid": true,
  "status": "LICENSE_STATUS_OK",
  "message": "License is active",
  "expiresAt": "2026-07-01T00:00:00Z"
}