Skip to content

Validate a license

Validates a license key and returns its status and entitlements.

POST /v1/licenses/validate

Device

The policy of the license decides whether a validation needs the device. If the policy binds devices, the device must have claimed the license first. A validation does not create a binding.

If the policy does not bind devices, Seatify ignores the device. So your application can send the device in every validation. See Binding.

Effects

  • A validation does not start the heartbeat lease again. Only a heartbeat does that.
  • A validation does not activate the license. Only a claim does that. See Activation.
  • Seatify records the time of the last validation on the license and on the device binding. The dashboard shows it as “Last validated”.
  • Seatify records each validation in the activity of the license, a refused one too. See Activity.

Authentication

Send the publishable key of the product. See Authentication.

Request

HeaderRequiredDescription
Seatify-Publishable-KeyYesThe publishable key of the product.
Content-TypeYesAlways application/json.
Seatify-NonceNoA new random value that the signature includes. See Signed responses.
Seatify-Signing-KeyNoThe key ID of the signing key in your application. See Signed responses.
FieldTypeRequiredDescription
keystringYesThe license key.
deviceobjectNoThe device. If the policy binds devices and the request has no device, the validation fails with the reason device_required.

The device object has these fields:

FieldTypeRequiredDescription
fingerprintstringYesThe fingerprint that the device sent in its claim. The fingerprint is case-sensitive. See Devices.
hostnamestringNoThe name of the device. A validation does not store the name. So your application can send the same device object as in the claim.

A device object with no values counts as a missing device.

Response

The answer is a license check object.

If the policy binds devices, device holds the binding of the device. If the policy also requires heartbeats, device.expires_at is the end of the current lease. The validation does not change this time.

Check the entitlements array to decide which features your application turns on. See Entitlements.

Reasons

A refused validation answers with the status 200 and a reason. It does not change the license or the device binding.

ReasonDescription
license_not_foundNo license has this key. Ask the user to check the key.
product_mismatchThe license belongs to another product. Ask the user to check the key.
suspendedThe license is suspended. Tell the user.
expiredThe license has expired. Tell the user.
device_requiredThe policy binds devices. Send the device.
not_claimedThe device has no binding on this license, or its heartbeat lease has ended. Claim the license again.

See Refused answers.

Errors

StatusReasonDescription
400The request body could not be read.The body is not valid JSON.
400The submitted details are not valid.A field is not valid. The errors field names it. See the table below.
400The signing key is not known.Your organization has no signing key with the ID in Seatify-Signing-Key.
400The nonce must be at most 255 characters.The value of Seatify-Nonce is too long.
401A publishable key is required.The request has no Seatify-Publishable-Key header, or the header is empty.
401The publishable key is not valid.No product has this key.
429There are too many requests. Try again later.See Rate limits.

These fields can be in errors:

FieldDescription
keyThe license key is missing or too long.
device.fingerprintThe device object has no fingerprint, or the fingerprint is too long.
device.hostnameThe hostname is too long.

See Errors.

Example

curl https://license.seatify.dev/v1/licenses/validate \
  -H "Seatify-Publishable-Key: $SEATIFY_PUBLISHABLE_KEY" \
  -H "Content-Type: application/json" \
  --data @- <<EOF
{
  "key": "$LICENSE_KEY",
  "device": { "fingerprint": "$DEVICE_FINGERPRINT" }
}
EOF
{
  "valid": true,
  "status": "active",
  "expired": false,
  "reason": null,
  "license": {
    "id": "<license id>",
    "name": "CIRRUS Team Floating Devices #0007",
    "expires_at": "2026-12-20T00:00:00Z",
    "activated_at": "2026-01-22T01:50:56Z"
  },
  "entitlements": [
    {
      "code": "API_ACCESS",
      "name": "API Access"
    },
    {
      "code": "AUDIT_LOG",
      "name": "Audit Log"
    },
    {
      "code": "CORE",
      "name": "Core"
    },
    {
      "code": "EXPORT_4K",
      "name": "4K Export"
    },
    {
      "code": "PRIORITY_SUPPORT",
      "name": "Priority Support"
    },
    {
      "code": "WHITE_LABEL",
      "name": "White Labelling"
    }
  ],
  "limits": {
    "max_devices": 50,
    "max_seats": 25,
    "max_processes": 4
  },
  "device": {
    "id": "<device binding id>",
    "expires_at": "2026-09-26T13:44:45Z"
  },
  "heartbeat": {
    "required": true,
    "interval_seconds": 3600,
    "grace_seconds": 1800
  },
  "process": null,
  "process_heartbeat": {
    "tracked": true,
    "interval_seconds": 300,
    "grace_seconds": 120
  }
}