Reference / Entitlements

Create a catalog feature.

POST /v1/features
Secret API key operationId: create_feature

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Request body · required

  • default_value Value?

    Default value when no entitlement overrides it (bool for boolean, number for limit).

  • description string
  • key string required
  • kind string required

    `boolean` (on/off) or `limit` (numeric quota).

  • name string required

Responses

201 Feature created
{
  "data": {
    "created_at": "2026-01-15T09:30:00Z",
    "default_value": {},
    "description": "string",
    "id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
    "key": "advanced_analytics",
    "kind": "boolean",
    "name": "string"
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
409 Key already in use
422 Invalid input

Request

curl -X POST "http://localhost:8080/v1/features" \
  -H "Content-Type: application/json" \
  -d '{
  "default_value": {},
  "description": "string",
  "key": "advanced_analytics",
  "kind": "boolean",
  "name": "Advanced analytics"
}'

Try it

live request
POST http://localhost:8080/v1/features

Request body

application/json