Set (grant/override) a feature value for an organization or plan.
POST
Secret API key operationId: set_entitlement/v1/entitlements Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Request body · required
feature_keystring requiredsubject_idstring requiredOrganization id (uuid) or plan key.
subject_typestring required`organization` or `plan`.
valueValue required
Responses
200 Entitlement set
{
"data": {
"created_at": "2026-01-15T09:30:00Z",
"feature_key": "string",
"id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
"subject_id": "string",
"subject_type": "organization",
"value": {}
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 422 Unknown feature / bad value / bad subject
Request
curl -X POST "http://localhost:8080/v1/entitlements" \
-H "Content-Type: application/json" \
-d '{
"feature_key": "string",
"subject_id": "string",
"subject_type": "organization",
"value": {}
}'Try it
live requestPOST
http://localhost:8080/v1/entitlements