curl --request GET \
--url https://api.getlago.com/api/v1/features \
--header 'Authorization: Bearer <token>'{
"features": [
{
"code": "seats",
"name": "Number of seats",
"description": "Number of users of the account",
"privileges": [
{
"code": "max",
"name": "Maximum",
"value_type": "integer",
"config": {}
},
{
"code": "max_admins",
"name": "Max Admins",
"value_type": "integer",
"config": {}
},
{
"code": "root",
"name": "Allow root user",
"value_type": "boolean",
"config": {}
},
{
"code": "provider",
"name": "SSO Provider",
"value_type": "select",
"config": {
"select_options": [
"google",
"okta"
]
}
}
],
"created_at": "2025-07-17T12:34:35Z"
}
],
"meta": {
"current_page": 2,
"total_pages": 4,
"total_count": 70,
"next_page": 3,
"prev_page": 1
}
}This endpoint retrieves all existing features that represent entitlement components of your application.
curl --request GET \
--url https://api.getlago.com/api/v1/features \
--header 'Authorization: Bearer <token>'{
"features": [
{
"code": "seats",
"name": "Number of seats",
"description": "Number of users of the account",
"privileges": [
{
"code": "max",
"name": "Maximum",
"value_type": "integer",
"config": {}
},
{
"code": "max_admins",
"name": "Max Admins",
"value_type": "integer",
"config": {}
},
{
"code": "root",
"name": "Allow root user",
"value_type": "boolean",
"config": {}
},
{
"code": "provider",
"name": "SSO Provider",
"value_type": "select",
"config": {
"select_options": [
"google",
"okta"
]
}
}
],
"created_at": "2025-07-17T12:34:35Z"
}
],
"meta": {
"current_page": 2,
"total_pages": 4,
"total_count": 70,
"next_page": 3,
"prev_page": 1
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page number.
1
Number of records per page.
20
Search in name, code and description.
List of features
Show child attributes
Unique code used to identify the feature. Max 255 characters.
"seats"
Name of the feature. Max 255 characters.
"Number of seats"
Description of the feature. Max 600 characters.
"Number of users of the account"
Privileges associated with this feature. Can be empty.
Show child attributes
Unique code for the privilege.
"max"
Display name for the privilege.
"Maximum"
Data type of the privilege value. Default: string
integer, boolean, string, select "integer"
[
{
"code": "max",
"name": "Maximum",
"value_type": "integer",
"config": {}
},
{
"code": "max_admins",
"name": "Max Admins",
"value_type": "integer",
"config": {}
},
{
"code": "root",
"name": "Allow root user",
"value_type": "boolean",
"config": {}
},
{
"code": "provider",
"name": "SSO Provider",
"value_type": "select",
"config": { "select_options": ["google", "okta"] }
}
]Creation date of the feature.
"2025-07-17T12:34:35Z"
Show child attributes