Events API
Authorizations
Query parameters
locationEnrichmentbooleanOptional
Body
userIdstringOptionalExample:
{userId} or nullanonymousIdstringOptionalExample:
{anonymousId} or nullnamestringOptionalExample:
name_of_the_eventtimestampnumberOptionalExample:
1690111645853propertiesobjectOptional
Responses
204
Successful Response
No content
post
/event/ingestPOST /event/ingest HTTP/1.1
Host: integration-api.userflux.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 238
{
"userId": "{userId} or null",
"anonymousId": "{anonymousId} or null",
"timestamp": 1690111645853,
"name": "event_name",
"properties": {
"property1": "value",
"property2": 123,
"property3": true,
"property4": null,
"property5": {
"nestedProperty1": "value"
}
}
}204
Successful Response
No content
Last updated