Skip to content

Quickstart: Activate a Device (5 minutes)

Last updated: Phase 8.5

Prerequisites

  • A ValidonX API key
  • A valid license key
  • A unique instance identifier for the device

Step 1: Create the Activation

bash
curl -X POST https://api.validonx.com/api/v1/integration/activations \
  -H "X-API-Key: vx_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "license_key": "YOUR-LICENSE-KEY",
    "instance_id": "device-unique-id",
    "metadata": {"os": "windows", "app_version": "3.0"}
  }'

Step 2: Check the Response

Success (201):

json
{
  "data": {
    "activation": {
      "id": 1,
      "license_key_id": 42,
      "instance_id": "device-unique-id",
      "device_fingerprint": "auto-generated-hash",
      "status": "active",
      "activated_at": "2026-03-30T10:00:00.000000Z"
    }
  },
  "meta": { "request_id": "uuid", "api_version": "1" }
}

Save the activation.id — you'll need it to validate the activation later.

Step 3: Validate Later

bash
curl -X POST https://api.validonx.com/api/v1/integration/activations/1/validate \
  -H "X-API-Key: vx_your_api_key" \
  -H "Content-Type: application/json"

Safe to Retry

The activation endpoint is idempotent. If you call it twice with the same license_key + instance_id, you get the existing activation back (no duplicate).

Common Errors

CodeMeaningFix
LICENSE.NOT_FOUNDBad license keyVerify the key
ACTIVATION.LIMIT_EXCEEDEDToo many devicesDeactivate unused devices or upgrade plan
ACTIVATION.INVALIDLicense not activeCheck license status

Built by Veltara Works