Authentication
All requests require an API key passed as a Bearer token.https://YOUR-FLOKIT-API-HOST
Send a single event
Request fields
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 a user account is created. FloKit links
anonymous_id to user_id automatically when both appear together in any event.string
required
ISO 8601 datetime of when the event occurred. Use the event’s actual occurrence time, not the time the request is sent.
object
Any additional event properties as key/value pairs. See the event taxonomy for recommended properties per event type.
Error responses
Idempotency
Include anIdempotency-Key header to safely retry requests without creating duplicate events. FloKit deduplicates on this key within a 24-hour window.
200 OK with the original event_id — no duplicate is stored.
Event ordering
Send events in chronological order where possible. Out-of-order events are accepted and will be processed correctly, but funnel metrics may appear inconsistent for a brief period until FloKit’s event sorter catches up. For historical imports with large volumes of out-of-order events, use the batch endpoint and sort events bytimestamp before sending.