Import route configurations from an OpenAPI specification in JSON format, automatically creating routes based on the API definition.
Entitlements module//
- Create or replace route rules
Get routes
Create route
Get single route
Delete route
Update route
Import open API
Create or replace route r...
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.
Download OpenAPI description
Languages
Servers
EU Region
https://api.frontegg.com/entitlements/
US Region
https://api.us.frontegg.com/entitlements/
CA Region
https://api.ca.frontegg.com/entitlements/
AU Region
https://api.au.frontegg.com/entitlements/
Frontegg sub-domain for use with user tokens
https://{domain}.frontegg.com/entitlements/
- EU Regionhttps://api.frontegg.com/entitlements/resources/routes/v1/import-open-api
- US Regionhttps://api.us.frontegg.com/entitlements/resources/routes/v1/import-open-api
- CA Regionhttps://api.ca.frontegg.com/entitlements/resources/routes/v1/import-open-api
- AU Regionhttps://api.au.frontegg.com/entitlements/resources/routes/v1/import-open-api
- Frontegg sub-domain for use with user tokenshttps://app-xxx.frontegg.com/entitlements/resources/routes/v1/import-open-api
- cURL
- JavaScript
- Python
- GO
- Payload
curl -i -X POST \
https://api.frontegg.com/entitlements/resources/routes/v1/import-open-api \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- EU Regionhttps://api.frontegg.com/entitlements/resources/routes/v1/{id}/rules
- US Regionhttps://api.us.frontegg.com/entitlements/resources/routes/v1/{id}/rules
- CA Regionhttps://api.ca.frontegg.com/entitlements/resources/routes/v1/{id}/rules
- AU Regionhttps://api.au.frontegg.com/entitlements/resources/routes/v1/{id}/rules
- Frontegg sub-domain for use with user tokenshttps://app-xxx.frontegg.com/entitlements/resources/routes/v1/{id}/rules
- cURL
- JavaScript
- Python
- GO
- Payload
curl -i -X PUT \
'https://api.frontegg.com/entitlements/resources/routes/v1/{id}/rules' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rules": [
{
"type": "feature",
"value": "my-feature-key"
}
]
}'Response
application/json
[ { "id": "b796239c-6641-4cf3-9ff3-658ad4049131", "routeId": "b796239c-6641-4cf3-9ff3-658ad4049131", "type": "feature", "value": "my-feature-key" } ]