Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Keygen Entitlements API

Named feature flags attached to policies and licenses.

Keygen Entitlements API is one of 12 APIs that Keygen publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Entitlements. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 5 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://api.keygen.sh/v1/accounts/{account}.

5 operations 2 paths 4 schemas 1 DELETE2 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://api.keygen.sh/v1/accounts/{account}
Authentication
HTTP Bearer, HTTP Bearer, HTTP Basic
Terms of Service
Resource Areas
1

Authentication & Security 3

Keygen Entitlements API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (token) (bearerAuth). It accepts HTTP bearer tokens (license-key) (licenseKeyAuth). It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • bearerAuth — Admin, environment, product, user, or license bearer token in the Authorization: Bearer header.
  • licenseKeyAuth — A license key passed as Authorization: License for license validation and self-service actions.
  • basicAuth — HTTP Basic (email:password) used only to generate a user token.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Entitlements 5

Named feature flags attached to policies and licenses.

POST
/entitlements
Create an entitlement
createEntitlement body → 201
GET
/entitlements
List all entitlements
listEntitlements → 200
GET
/entitlements/{id}
Retrieve an entitlement
retrieveEntitlement 1 param → 200
PATCH
/entitlements/{id}
Update an entitlement
updateEntitlement 1 param → 200
DELETE
/entitlements/{id}
Delete an entitlement
deleteEntitlement 1 param → 204

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are PageLinks (5 properties), EntitlementResource (3 properties), EntitlementCollectionDocument (2 properties), EntitlementDocument (1 property). Each schema is shown below with its type and property counts.

EntitlementDocument
object
1 property
EntitlementCollectionDocument
object
2 properties
PageLinks
object
5 properties
EntitlementResource
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

keygen-entitlements-api-openapi.yml Raw ↑

Other APIs Keygen publishes across the network.

Keygen Artifacts API
Keygen Components API
Keygen Licenses API
Keygen Machines API
Keygen Policies API
Keygen Processes API
Keygen Products API
Keygen Releases API
Keygen Tokens API
Keygen Users API
Keygen Webhooks API