Events
Log Custom Events
Logs one or more custom events for analytics and metric calculation. Events are used to measure experiment outcomes and user behavior.
POST
Authorizations
SDK API key (Server Secret or Client SDK Key)
Headers
Client timestamp in milliseconds. Used to normalize event timestamps against server time and account for client clock drift.
Body
application/json
Array of events to log
Minimum array length:
1Shared user object for all events (can be overridden per event)
SDK metadata for tracking SDK type, version, and other diagnostic information
Example:
{
"sdkType": "js-client",
"sdkVersion": "4.20.0",
"exposureLoggingDisabled": false
}
Response
Events accepted for processing
Whether the request was successful