API Endpoint

GET /management/slugs

List configured slug policy templates used during license generation.

GET /management/slugs

Endpoint context

Use these endpoints from internal tooling or your frontend backend to manage slug policy templates, provisioning API keys, and webhook endpoint configuration. Management routes require the management bootstrap key configured via MANAGEMENT_API_KEYS or MANAGEMENT_API_KEY.

  • Requires management API key auth.
  • Returns slug records including expiration policy and default slug flag.
  • Slug policies affect newly generated licenses and are snapshotted at issuance time.
bash
curl -sS http://localhost:8080/management/slugs \
  -H "Authorization: Bearer management_key_dev_123456"

Request body

json
{} (no request body)

Response body

json
{
  "slugs": [
    {
      "id": 1,
      "name": "default",
      "max_activations": 1,
      "expiration_type": "forever",
      "expiration_days": null,
      "fixed_expires_at": null,
      "is_default": true,
      "created_at": "2026-04-21T09:00:00Z",
      "updated_at": "2026-04-21T09:00:00Z"
    }
  ]
}

Response field types

slugs

array

Slug policy records available for generation.

Error codes

401

Missing or invalid management API key.

500

Unexpected server or storage error.

Back to API overview