Get license token public key

Get the public key JWK of a product for verifying license tokens. This endpoint is only available if the product supports license tokens and exposes its public key.

GET
/api/v1/public/products/{productId}/license-token/public-key

Path Parameters

productIdRequiredstring

The product ID.

curl -X GET "https://keyforge.dev/api/v1/public/products/p_123456/license-token/public-key"

Success. The public key JWK is returned.

{
  "jwk": {
    "kty": "EC",
    "x": "...",
    "y": "...",
    "crv": "P-256",
    "alg": "ES256"
  }
}