Retrieve a paginated list of features with filtering, search, and sorting capabilities. Filter by feature IDs, keys, permission keys, or feature flag association. Search by name and sort by name, key, or creation date.
Entitlements Overview
The Entitlements Engine is powered by the isEntitledTo query and is designed to manage and control user access within your application. It enables you to grant users specific roles, permissions, feature access, and more, providing a flexible framework for access management.
Below is an overview of API endpoints relevant to managing features, plans, feature flags, and API access control within your application. All endpoints are classified as Management Endpoints, requiring environment-level authorization and offering comprehensive control over entitlement resources.
Order fields by date created (createdAt) or expired (expirationDate)
Sort fields by an ascending (ASC) or a decending (DESC) order
Comma separated feature IDs that can be used to filter the results
Comma separated permission keys that can be used to filter the results
Filter out features that are linked/not linked to feature-flag
- EU Regionhttps://api.frontegg.com/entitlements/resources/features/v1
- US Regionhttps://api.us.frontegg.com/entitlements/resources/features/v1
- CA Regionhttps://api.ca.frontegg.com/entitlements/resources/features/v1
- AU Regionhttps://api.au.frontegg.com/entitlements/resources/features/v1
- Frontegg sub-domain for use with user tokenshttps://app-xxx.frontegg.com/entitlements/resources/features/v1
- cURL
- JavaScript
- Python
- GO
- Payload
curl -i -X GET \
https://api.frontegg.com/entitlements/resources/features/v1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "items": [ { … } ], "hasNext": true }
- EU Regionhttps://api.frontegg.com/entitlements/resources/features/v1
- US Regionhttps://api.us.frontegg.com/entitlements/resources/features/v1
- CA Regionhttps://api.ca.frontegg.com/entitlements/resources/features/v1
- AU Regionhttps://api.au.frontegg.com/entitlements/resources/features/v1
- Frontegg sub-domain for use with user tokenshttps://app-xxx.frontegg.com/entitlements/resources/features/v1
- cURL
- JavaScript
- Python
- GO
- Payload
curl -i -X POST \
https://api.frontegg.com/entitlements/resources/features/v1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Test Feature",
"key": "test-feature",
"description": "This is a test feature",
"permissions": [
"permission.read",
"permission.write"
]
}'{ "id": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3", "vendorId": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3", "name": "Test Feature", "key": "test-feature", "metadata": "{ \"some-key\": \"some-value\" }", "description": "This is a test feature", "createdAt": "2022-01-01T00:00:00", "updatedAt": "2022-01-01T00:00:00", "permissions": [ "permission.read", "permission.write" ], "featureFlag": { "id": "e6a5012c-cbeb-4c1e-ab80-e5f43efd44e3", "name": "Test Feature Flag", "on": true, "offTreatment": "false", "defaultTreatment": "true", "description": "This is a test feature flag", "updatedAt": "2022-01-01T00:00:00", "createdAt": "2022-01-01T00:00:00" } }
- EU Regionhttps://api.frontegg.com/entitlements/resources/features/v1/{featureId}
- US Regionhttps://api.us.frontegg.com/entitlements/resources/features/v1/{featureId}
- CA Regionhttps://api.ca.frontegg.com/entitlements/resources/features/v1/{featureId}
- AU Regionhttps://api.au.frontegg.com/entitlements/resources/features/v1/{featureId}
- Frontegg sub-domain for use with user tokenshttps://app-xxx.frontegg.com/entitlements/resources/features/v1/{featureId}
- cURL
- JavaScript
- Python
- GO
- Payload
curl -i -X PATCH \
'https://api.frontegg.com/entitlements/resources/features/v1/{featureId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Test Feature",
"key": "test-feature",
"description": "This is a test feature",
"permissions": [
"permission.read",
"permission.write"
]
}'