Seatling Developer Documentation
How Seatling Works & Developer Documentation
Understand how Seatling turns a storefront purchase into a hardware-locked, offline-capable software license—and learn how to connect your Gumroad store or integrate our client SDKs.
How Seatling Works
New to Seatling? Explore how hybrid hardware anchors, offline lease tokens, and self-service seat transfers work together.
Connect Gumroad (No-Code)
Set up your Gumroad API token, enable real-time purchase/refund webhooks, and configure per-product seat limits.
10-Minute SDK Quickstart
Jump straight to the official SDKs. Activate a machine seat, verify .seatling offline proofs, and handle seat-limit transfers.
How Seatling works in 4 stages
From the moment a buyer completes checkout to offline daily launches and self-service computer upgrades.
Gumroad Ping → Seat PolicyStorefront Purchase & Refund Sync
When a customer buys your software on Gumroad, Seatling receives the webhook notification and attaches your product's Seat Quota (e.g. 2 devices) and Offline Grace Window (e.g. 30 days) to the license key. Refunds and disputes revoke the key automatically.
SHA-256 (Hardware-Based Hash)Peripheral-Tolerant Hardware Lock
When a buyer activates their key inside your desktop app, the SDK derives a stable hardware fingerprint hash. External USB drives, monitors, audio interfaces, and VPNs are ignored so valid seats never break.
Hardware-Sealed .seatling LeaseOffline-First Hardware Anchor Verification
Seatling signs a machine lease token with your private key and returns it to the app. On subsequent launches, your app verifies the token locally in < 0.2ms using your embedded public key—running 100% offline on planes or in studios for the entire grace window.
SeatsExhausted (403) → portal.seatling.appPasswordless Self-Service Transfers
When a buyer switches computers and hits their seat limit, your app directs them to portal.seatling.app. They sign in with a passwordless email magic link and click Deactivate on their old machine—freeing the seat with zero support tickets.
Inspect the live components of a Seatling license
Click through the tabs below to inspect a bound machine seat, simulate a customer self-service transfer, view the anatomy of a signed .seatling offline token, or browse client SDK code.
{
"alg": "EdDSA",
"typ": "seatling-license-v2+jwt",
"kid": "prod_synth_2026_v1",
"claims": {
"product_id": "prod_audio_synth_pro",
"seat_id": "seat_01j8k9m0n1p2q3",
"masked_key": "SEAT-****-****-90E1",
"buyer_email": "b***@gmail.com",
"hwid": "7f9a882e30c149b5d21a...44c1",
"device_key": "11qYAYKxCrfVS_7TyWQHOg7h...",
"os": "macos",
"offline_grace_days": 30,
"status": "active",
"entitlements": { "pro_dsp": true }
}
}Built for offline security & privacy:
- 1. Private Key Stays on Server: Only Seatling holds the private signing key. Your desktop app embeds only the Public Verification Key.
- 2. Tamper-Evident Payload: Editing
hwid,offline_grace_days, orentitlementsimmediately invalidates the signature. - 3. Hardware & OS Bound: Copying the file to another computer or OS fails local hardware verification.
- 4. Minimal & Privacy-First: Masks buyer emails and provides masked display keys—never stores OS hostnames, usernames, or usage tracking.
go get github.com/seatling/seatling-sdk-go/v2package main
import (
"fmt"
"github.com/seatling/seatling-sdk-go/v2"
)
func main() {
client, _ := seatling.New(seatling.Config{
WorkspaceID: "ws_01j8k9m0n1p2q3r4s5t6u7v8w9",
ProductID: "prod_studio_pro",
PublicKeys: map[string]string{"prod_key_2026_v1": "6kpsY+KcUgq+9VB7..."},
AppVersion: "1.0.0",
})
defer client.Close()
// 1. Initialize local hardware-sealed lease (< 1ms, 0ms network I/O)
client.Initialize()
if !client.IsAuthorized() {
res, _ := client.ActivateDetailed("SEAT-8F92-4B11-90E1")
if !res.Success && res.PortalURL != "" {
fmt.Printf("Seat limit reached. Transfer seat at: %s\n", res.PortalURL)
}
}
}Explore the complete documentation
Structured guides for architectural concepts, no-code storefront setup, and client SDK integration.
Core Concepts & Architecture
How Seatling works under the hood
- Introduction to SeatlingWhy naive license counters fail & how Seatling solves them
- Hardware Fingerprints (HWID)Multi-factor SHA-256 device hashing & peripheral tolerance
- Hybrid Hardware AnchorTwo-layer hardware identity & sealed offline lease files
- Seat Limits & Grace Periods1 key = N devices, seat-limit handling & offline timers
- Customer Self-Service PortalPasswordless magic-link seat transfers at portal.seatling.app
- Privacy & GDPR ComplianceBuilt-in data minimization, privacy defaults & creator GDPR guide
Storefront Setup (Gumroad)
Connect your checkout & seat policies
- Storefront Support MatrixSupported checkout capabilities & 4-step onboarding lifecycle
- 1. Gumroad API Access TokenConnect your Gumroad seller account & import products
- 2. Gumroad Ping Webhooks1-click automatic or manual real-time Ping configuration
- 3. Product & Seat MappingConfigure max seats, grace days & multi-quantity pooling
- 4. Webhook Simulator & TestingSimulate sales, refunds & disputes directly in the dashboard
Client Guides & SDK Recipes
In-app verification, activation & SDKs
- 10-Minute End-to-End QuickstartHardware-lock your first license key with Go, Node.js, Rust, or C++ SDKs
- Client Integration Step-by-StepActivate Seat → Offline Check → Heartbeat → Deactivate
- C++ / JUCE & Rust Native SDKsZero-latency audio plugin (VST3/AU) & Tauri binary recipes
- Node.js, Electron & Go SDKsCross-platform desktop apps, Electron binaries & CLI tools
- Wire Protocol ReferenceEdDSA JWT schemas for /v1/licenses/activate, /heartbeat & /deactivate
SDK operations & wire protocol at a glance
Client apps integrate via an official Seatling Client SDK (direct raw HTTP calls are not supported). Below is each core SDK method and the endpoint it calls under the hood.
| SDK Method | Wire Endpoint | Operation | Status Codes | Guide |
|---|---|---|---|---|
activate(key) | POST/v1/licenses/activate | Bind a device seat and issue a signed offline lease | 200 OK, 403 SeatsExhausted, 409 Portal Required | Activate Guide → |
heartbeatNow() | POST/v1/licenses/heartbeat | Renew offline lease, check revocation, and sync basic OS/app versions | 200 OK, 401, 403, 409 | Heartbeat Guide → |
deactivate() | POST/v1/licenses/deactivate | Release the device seat and clear the local lease | 200 OK, 401, 404 | Deactivate Guide → |
| Legacy migration | POST/-/gumroad/v2/licenses/verify | Drop-in compatibility endpoint for existing Gumroad apps | 200 OK (Legacy Gumroad JSON) | Migration Note → |
Data classification (GDPR Art. 4(1), Recital 26 & Recital 30): Payloads containing license_key, hwid, or device identifiers—along with accompanying HTTP network metadata—are personal data (pseudonymized/hashed identifiers, cf. Art. 4(5), never anonymous data) because they can single out a device or be linked to an individual via purchase records.