Plugin SDK
Reference for the HMAC-signed License API. Every NTK Foundry plugin speaks the same protocol — three endpoints (activate / heartbeat / status), one shared signature scheme, one stable set of numeric error codes. Use this section when integrating the protocol from a CI pipeline, headless build farm, or custom tooling that does not embed the Unity plugin.
HMAC Signing
Sign every request to the License API with an HMAC-SHA256 signature, a fresh nonce, and a current timestamp.
POST /api/v1/license/activate
Register a machine against a license key on first run. Idempotent for known machines.
POST /api/v1/license/heartbeat
Refresh the lastSeenAt timestamp for an already-activated machine. Cheap, idempotent.
POST /api/v1/license/status
Read-only license health check. Use it at plugin startup before rendering any UI.
Error Codes
Numeric error codes returned by the License API and how clients should react to each.