Skip to content

Endpoint Reference

All paths are relative to https://your-site.com/wp-json/wplm/v1.

Validation & activation (client-facing, public)

Section titled “Validation & activation (client-facing, public)”
MethodEndpointPurpose
POST/validateValidate a key (+ optional fingerprint). Returns a signed payload.
POST/activateActivate a device (key + fingerprint + meta).
POST/deactivateDeactivate a device (frees a seat).
POST/heartbeatDevice keep-alive / renew a floating lease.
GET/crlSigned certificate revocation list for offline clients.
GET/public-keyEd25519 public key for client-side signature verification.
Terminal window
curl -X POST https://your-site.com/wp-json/wplm/v1/validate \
-H "Content-Type: application/json" \
-d '{ "license_key": "ABCD-EFGH-IJKL-MNOP", "fingerprint": "abc123" }'
MethodEndpointPurpose
GET/licensesList (paginate, filter by status/product/order/user).
POST/licensesCreate a license (optionally from a generator).
GET/licenses/{key}Retrieve one license + its devices.
PUT/licenses/{key}Update writable fields.
DELETE/licenses/{key}Delete a license.
POST/licenses/{key}/renewExtend expiry / reset relative validity.
POST/licenses/{key}/suspendSuspend (temporary hold).
POST/licenses/{key}/revokeRevoke (reversible).
POST/licenses/{key}/reinstateReinstate a suspended/revoked license.
POST/licenses/{key}/terminateTerminate (irreversible — requires a confirm flag).
MethodEndpointPurpose
GET/licenses/{key}/machinesList devices bound to a license.
GET/machines/{id}Retrieve a device + its components.
DELETE/machines/{id}Remove/deactivate a device.
POST/machines/{id}/revokeRevoke a single device.
MethodEndpointPurpose
GET/generatorsList generators.
POST/generatorsCreate a generator.
GET/generators/{id}Retrieve a generator.
PUT/generators/{id}Update a generator.
DELETE/generators/{id}Delete a generator.
POST/generators/{id}/generateBulk-generate N keys into the pool.
MethodEndpointPurpose
GET/releasesList software releases.
POST/releasesPublish a new version.
GET/updates/checkLicensed client checks for a newer version.
GET/updates/downloadToken-gated download of a release artifact.
MethodEndpointPurpose
GET/subscriptionsList (filter by status/user/product).
POST/subscriptionsCreate a subscription.
GET/subscriptions/{id}Retrieve a subscription + items + bound license.
PUT/subscriptions/{id}Update schedule / amount / method.
POST/subscriptions/{id}/pausePut on-hold (suspends the license).
POST/subscriptions/{id}/resumeReactivate.
POST/subscriptions/{id}/cancelCancel now or at period end.
POST/subscriptions/{id}/switchUpgrade/downgrade with proration.
POST/subscriptions/{id}/renewCharge a renewal now (early renew).
GET/subscriptions/{id}/renewalsList renewal/switch history.
MethodEndpointPurpose
GET / POST/webhooksList / register webhooks.
DELETE/webhooks/{id}Delete a webhook.
POST/webhooks/{id}/pingSend a test delivery.
GET / POST/api-keysList / create API keys.
GET/analytics/overviewDashboard aggregates.
GET/analytics/validationsValidations time-series.
GET/analytics/anomaliesCurrent anomaly flags.
GET/analytics/expiringLicenses expiring soon.