Documentation

Build your license flow with confidence

Documentation

Overview

Architecture, navigation, and docs map.

Documentation

Quickstart

Run the server, verify health, and generate your first key.

Documentation

Concepts

Understand slugs, seats, activation flow, and license lifecycle behavior.

Documentation

Webhook Concepts

Delivery model, idempotency headers, and webhook payload contracts.

Documentation

Slug Concepts

Slug naming rules, policy fields, and license snapshot behavior at generation time.

Documentation

Configuration

All environment variables, defaults, and validation behavior.

Documentation

Stripe Example

Stripe + Vercel webhook example for automatic license generation.

Documentation

License API

License lifecycle endpoints with request/response examples.

Documentation

Management API

Management endpoints for slugs, API keys, and webhook configuration.

Documentation

GET /management/slugs

List slug policy templates.

Documentation

POST /management/slugs

Create a slug policy template.

Documentation

GET /management/slugs/{name}

Get a slug policy template by name.

Documentation

PATCH /management/slugs/{name}

Update a slug policy template.

Documentation

DELETE /management/slugs/{name}

Delete a slug policy template.

Documentation

Migration

Upgrade guides across released versions.

Documentation

0.1.0 -> 0.2.0

Breaking changes and migration checklist for 0.2.0.

Documentation

POST /generate

Generate a license using a generated server API key.

Documentation

POST /revoke

Revoke an existing license key.

Documentation

POST /activate

Activate a license for a fingerprint.

Documentation

POST /validate

Validate runtime license state.

Documentation

POST /deactivate

Release a seat by deactivating one fingerprint.

Documentation

GET /management/api-keys

List generated API keys for provisioning.

Documentation

POST /management/api-keys

Create a generated server API key.

Documentation

POST /management/api-keys/{id}/revoke

Revoke a generated API key.

Documentation

GET /management/webhooks

List configured webhook endpoints.

Documentation

POST /management/webhooks

Create a webhook endpoint configuration.

Documentation

PATCH /management/webhooks/{id}

Update webhook endpoint configuration.

Documentation

DELETE /management/webhooks/{id}

Delete a webhook endpoint.

Try the API now

bash
curl -sS http://localhost:8080/generate \
  -H "Authorization: Bearer <generated_server_api_key>" \
  -H "Content-Type: application/json" \
  -d '{"slug":"default","metadata":{"email":"user@example.com"}}'