Client Licensing Endpoints
[!IMPORTANT] SDK-Only Endpoints: These endpoints are consumed exclusively by the official Seatling Client SDKs (Node.js / Electron, Go, Rust, C++17 / JUCE). Do not hand-roll raw HTTP calls against these routes. This reference documents the exact wire payloads, claims, and RFC 9457 error contracts for security reviews, firewall allowlisting, and GDPR data-flow audits.
1. Activate Machine Seat
Section titled “1. Activate Machine Seat”- Route:
POST /v1/licenses/activate - SDK Method:
activate(licenseKey)/ActivateDetailed(licenseKey) - Content-Type:
application/json(errors:application/problem+json)
Activates a machine seat using an EdDSA Proof-of-Possession JWT (typ: seatling-activate-pop-v2+jwt). Supports hardened bidirectional self-healing on the same canonical host OS (reinstalls rotate the device key in-place without consuming an extra seat; minor hardware upgrades update the HWID vector when attested by the hardware-sealed key).
Request Envelope
Section titled “Request Envelope”{ "token": "eyJhbGciOiJFZERTQSIsInR5cCI6InNlYXRsaW5nLWFjdGl2YXRlLXBvcC12Mitqd3QifQ..."}Decoded ActivationPopClaims (additionalProperties: false)
Section titled “Decoded ActivationPopClaims (additionalProperties: false)”iss: Base64-encoded device Ed25519 public keysub: License keyaud: Target API endpoint URLhwid: 64-character lowercase domain-scopedHKDF-SHA256composite hardware fingerprinthwid_components:{ cpu?, mobo?, disk?, os_uuid? }(each present slot is a 64-character lowercase domain-scopedHKDF-SHA256hash; unavailable slots are omitted and score 0 quorum points)app_version: Semantic application version (e.g.,"2.4.1")attestation_tier:"hardware_sealed"or"software"os: Canonical host OS enum ("windows","macos", or"linux")os_version: Coarse host OS name and version (max 64 UTF-8 bytes, e.g.,"macOS 15.1")iat,nbf,exp,jti: Standard JWT timestamps and noncesupported_kids: Sorted list of workspace signing key IDs trusted by the client binary
Success Response (200 OK)
Section titled “Success Response (200 OK)”Returns { "token": "<EdDSA JWT>" } with typ: seatling-license-v2+jwt signed by the workspace Ed25519 key (kid in header). Decoded LicenseJwtClaims include iss, sub, aud, product_id, seat_id, masked_key ("SEAT-****-****-4444"), masked buyer_email ("b***@gmail.com"), hwid, device_key, os, app_version, iat, exp, offline_grace_days, status (active | suspended | revoked), and entitlements.
Error Responses (application/problem+json)
Section titled “Error Responses (application/problem+json)”400 Bad Request: Invalid PoP JWT, expired timestamp, or schema validation failure (ValidationProblemDetails).403 Forbidden:SeatsExhaustedProblem: Seat quota full; includesseats_active,seat_limit, maskedbuyer_email, and staticportal_url(https://portal.seatling.app).VersionNotEntitledProblem:app_versionexceeds license version entitlement.KeyRevokedProblem/LicenseSuspendedProblem: Signing key revoked or license suspended/revoked.
404 Not Found: License key not found.409 Conflict:RequiresPortalDeactivationProblem— concurrent active session anomaly, cross-OS key clone lock, or rotation quota exceeded; includes staticportal_url(https://portal.seatling.app).
2. 1-RTT Mutual-Challenge Heartbeat
Section titled “2. 1-RTT Mutual-Challenge Heartbeat”- Route:
POST /v1/licenses/heartbeat - SDK Method: Automatic background worker +
heartbeatNow() - Content-Type:
application/json(errors:application/problem+json)
Renews the offline grace lease, enforces canonical OS binding and revocation state, and records pseudonymized seat runtime health (os, os_version, app_version).
Request Envelope
Section titled “Request Envelope”{ "token": "eyJhbGciOiJFZERTQSIsInR5cCI6InNlYXRsaW5nLWhlYXJ0YmVhdC1jaGFsbGVuZ2UtdjIrand0In0..."}Decoded HeartbeatChallengeClaims (additionalProperties: false)
Section titled “Decoded HeartbeatChallengeClaims (additionalProperties: false)”iss,sub,aud,seat_id,hwidsession_id: 128-bit random per-process session identifierapp_version,os,os_versioniat,nbf,exp,jti(random challenge nonce),supported_kids
Success Response (200 OK)
Section titled “Success Response (200 OK)”Returns { "token": "<EdDSA JWT>", "portal_url"?: "https://portal.seatling.app" } where token (typ: seatling-heartbeat-ack-v2+jwt) is counter-signed by the workspace key and echoes the client’s jti nonce alongside updated status (active | locked | suspended | revoked) and entitlements.
Error Responses (application/problem+json)
Section titled “Error Responses (application/problem+json)”400 Bad Request: Malformed heartbeat payload or expired timestamp (±5mwindow).401 Unauthorized: Invalid device signature or seat key mismatch.403 Forbidden: Version not entitled, key revoked, or license suspended/revoked.409 Conflict:RequiresPortalDeactivationProblem— concurrent use anomaly detected.
3. Deactivate Machine Seat
Section titled “3. Deactivate Machine Seat”- Route:
POST /v1/licenses/deactivate - SDK Method:
deactivate()/Deactivate() - Content-Type:
application/json(errors:application/problem+json)
Explicitly releases the allocated machine seat slot using a device-signed EdDSA Deactivation Proof JWT (typ: seatling-deactivate-v2+jwt).
Request Envelope
Section titled “Request Envelope”{ "token": "eyJhbGciOiJFZERTQSIsInR5cCI6InNlYXRsaW5nLWRlYWN0aXZhdGUtdjIrand0In0..."}Decoded DeactivationClaims (additionalProperties: false)
Section titled “Decoded DeactivationClaims (additionalProperties: false)”iss(Base64 device public key),sub(license key),seat_id,hwid,iat,nbf,exp,jti
Success Response (200 OK)
Section titled “Success Response (200 OK)”{ "success": true, "message": "Seat successfully deactivated"}Error Responses (application/problem+json)
Section titled “Error Responses (application/problem+json)”400 Bad Request: Invalid deactivation token or expired timestamp.401 Unauthorized: Invalid device signature or seat not bound to device key.404 Not Found: Seat already deactivated, freed, or absent on server.
Data Minimization Guarantee (Art. 5(1)(c) GDPR)
Section titled “Data Minimization Guarantee (Art. 5(1)(c) GDPR)”All three endpoints enforce strict schema validation (additionalProperties: false):
- No
device_name, OS hostname, or OS username fields exist in the wire protocol. - No plaintext buyer emails are returned in API responses (
buyer_emailis always masked, e.g.,b***@gmail.com). - No magic-link tokens or license keys are ever embedded in
portal_urlresponses.
See Privacy & GDPR Compliance for full legal basis and Art. 13 disclosure guidance.