Docs/Licenses/API/Plans & Features
Plans & Features API
Define granular capability flags, numerical quota ceilings, and commercial packaging tiers in Vyntech Licenses.
Base URL: https://api.vyntech.com.au/v1/licenses — Manage features (/features) and commercial plans (/plans).
Registers a feature gate toggle or quota limit under a product.
Create FeatureAuth
Define a feature gate or quota attribute.
Payload Example
{
"product_id": "e8d641ef-52ba-4ca5-98e3-ffab7e20b3df",
"name": "8K Video Rendering",
"code": "render_8k",
"description": "Enables hardware-accelerated 8K export",
"value_type": "boolean",
"default_value": true
}Status Codes
- Name
201- Type
- HTTP
- Description
- Feature created successfully
- Name
400- Type
- HTTP
- Description
- Invalid value_type or missing parameters
- Name
409- Type
- HTTP
- Description
- Feature code already exists for this product
Request Parameters
- Name
product_id- Type
- string (UUID)
- Required
- Description
- Target product ID that owns this feature.
- Name
code- Type
- string
- Required
- Description
- Feature identifier checked by the client application (e.g.
render_8k).
- Name
value_type- Type
- string
- Required
- Description
- Allowed types:
"boolean","numeric", or"string".
Request
POST/v1/licenses/features
Response 201
Creates a commercial plan tier (e.g. Pro, Enterprise) containing default seat limits and entitlement mappings.
Create PlanAuth
Create commercial tier with default entitlements.
Payload Example
{
"product_id": "e8d641ef-52ba-4ca5-98e3-ffab7e20b3df",
"name": "Enterprise Suite",
"code": "enterprise",
"max_activations": 10,
"duration_days": 365,
"grace_period_days": 14,
"entitlements": {
"render_8k": true,
"cloud_sync": true,
"max_team_members": 50
}
}Status Codes
- Name
201- Type
- HTTP
- Description
- Plan created successfully
- Name
400- Type
- HTTP
- Description
- Validation error in plan configuration
Request
POST/v1/licenses/plans
Response 201