DOCS LLMs

Welcome to LicenseSeat

LicenseSeat Documentation

LicenseSeat is a licensing server for games, plugins, and apps. Issue license keys, validate them in your software, and manage activations—all without rolling your own infrastructure.

What You'll Learn

  • Getting Started: Set up your first product and issue licenses in 15 minutes
  • Official SDKs: Drop-in libraries for Swift and JavaScript
  • API Reference: Complete documentation for all endpoints
  • Integration Guides: Code examples and best practices
  • Offline Licensing: Cryptographically signed offline validation
Getting Started SDKs Reference
Prerequisites Swift SDK Authentication
Quickstart JavaScript SDK Validate License

Official SDKs

We provide official SDKs for the most popular platforms:

Platform Package Install
Swift licenseseat-swift swift package add https://github.com/licenseseat/licenseseat-swift
JavaScript/TypeScript @licenseseat/js npm install @licenseseat/js

Both SDKs support:

  • License activation and deactivation
  • Online and offline validation (Ed25519 cryptographic signatures)
  • Automatic re-validation
  • Entitlement checking (hasEntitlement() for simple boolean checks)
  • Event-driven architecture
  • Singleton pattern for shared instances
  • Full TypeScript support (JS SDK includes .d.ts files)

See the SDK documentation for detailed integration guides.

How LicenseSeat Works

1. User purchases your app → You receive payment via Stripe/Gumroad/etc.
2. LicenseSeat webhook receives the event → Issues a license key automatically
3. User receives license key via email → Enters it in your app
4. Your app validates the key → LicenseSeat API confirms it's valid
5. App activates → User is happy, you're protected

Key Concepts

Concept Description
Product Your software (e.g., "Hustl App", "PhotoEditor Pro")
License Plan A pricing tier with rules (seat limit, duration, entitlements)
License A unique key issued to a customer
Activation A device registered against a license
Entitlement A feature or capability granted by a license

API Base URL

All API requests are made to:

https://licenseseat.com/api/v1

All endpoints use product-scoped URLs (e.g., /products/{slug}/licenses/{key}/validate).