Skip to main content
POST
/
api
/
v1
/
features
Create Feature
curl --request POST \
  --url https://api.example.com/api/v1/features \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "lookup_key": "<string>",
  "type": "<string>",
  "description": "<string>"
}
'
name
string
required
Display name
lookup_key
string
required
Unique slug identifier
type
string
required
meter, switch, or custom
description
string
Description
For meter features, also include:
meter_name
string
Unique meter identifier
property_name
string
Event payload property to aggregate
aggregation_type
string
SUM, MAX, UNIQUE_COUNT, or LAST
unit
string
Display unit
filters
array
Optional event filters (max 5)