Skip to main content
POST
/
v1
/
licenses
/
verify
TypeScript SDK
import { Solifyn } from 'solifyn';

const solifyn = new Solifyn({ apiKey: 'your_private_api_key_here' });

// Verify/Validate a license key
const validation = await solifyn.licenses.verify({
  key: 'solifyn_lic_123456...',
  productId: 'prod_019e56a1...'
});
console.log('Validation Response:', validation);
{
  "success": true,
  "valid": true,
  "license": {
    "id": "<string>",
    "key": "<string>",
    "status": "<string>",
    "activationLimit": 123,
    "activationMessage": "<string>",
    "expiresAt": "<string>",
    "product": {
      "id": "<string>",
      "name": "<string>",
      "digitalLink": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Authenticate requests using your standard bearer API key (e.g. YOUR_API_KEY).

Body

application/json
key
string
required

The license key to validate.

productId
string<uuid>
required

The product ID associated with the license.

Response

200 - application/json

License is valid.

success
boolean
required
valid
boolean
required
license
object
required