API reference
Ingest a client event batch
Accepts normal and cookieless events from a FounderHQ client SDK, with per-event results keyed by UUID.
Authorization
publishableKey AuthorizationBearer <token>
A brand-scoped FounderHQ publishable key.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/i/v2/e" \ -H "Content-Type: application/json" \ -d '{ "batch": [ { "distinct_id": "string", "event": "string", "options": { "process_person_profile": true }, "properties": { "property1": "string", "property2": "string" }, "timestamp": "2019-08-24T14:15:22Z", "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f" } ], "sent_at": "2019-08-24T14:15:22Z" }'{ "directives": [ { "distinct_id": "string", "type": "rotate_distinct_id" } ], "results": { "property1": { "details": "string", "result": "ok" }, "property2": { "details": "string", "result": "ok" } }}