The FloKit v1 REST API is in design-partner preview — endpoints and schemas may change before general availability. Contact your FloKit team for access.
POST /v1/events
Send a single event from your server.Headers
Request body
string
required
Event name from the event taxonomy. E.g.
paywall_viewed, subscription_started.string
Your backend user identifier. Required if
anonymous_id is not present.string
Pre-login device or session identifier. Recommended for events that occur before the user has an account. FloKit links
anonymous_id to user_id when both appear in the same event.string
required
ISO 8601 datetime of when the event occurred. Use the actual event time, not the request time.
object
Additional event properties as key/value pairs. See the event taxonomy for recommended properties per event type.
Examples
Response
Error responses
POST /v1/batch/events
Send up to 1,000 events in a single request.Request body
array
required
Array of event objects. Each object accepts the same fields as the single-event endpoint:
event, user_id, anonymous_id, timestamp, properties.Example
Response
errors with the array index and reason.
Rate limits
Contact FloKit for higher throughput capacity.