Aggregated Events
API Structure
Header
Description
Data type
Domain Mode Example
curl --location 'https://ingest.reo.dev/api/product/aggregateusage' \
--header 'X-API-KEY: <API_KEY>' \
--header 'Content-Type: application/json' \
--data '{
"payload": {
"mode": "DOMAIN",
"activity_type": "DEMO_LOGIN",
"source": "PRODUCT_CLOUD",
"environment": "PRODUCTION",
"event_id": 1231231232,
"event_at": 639303296,
"user_id": "",
"user_id_type": "",
"count": 1250,
"domain": "reo.dev",
"ip_addr": "",
"product_id": "reoWebApp",
"user_agent": "Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"meta": {
"property1": "value1",
"property2": "value2"
}
}
}'
User Mode Example
Tenant API Key
Parameters
Parameter
Description
Data Type
Possible Values
Example
Sample JSON Request (Domain Mode)
Sample JSON Request (User Mode)
Sample JSON Response [Success]
Sample JSON Response [Wrong API Key]
Sample JSON Response [Invalid Mode]
Last updated
Was this helpful?

