PRO FEATURE
This feature is available on the Pro pricing plan. Please email support@justtrack.io for more details.
Send a batch of app events to justtrack
POST/appevents/v1
Sends batches of batches of events where each inner batch is for a single app and user. Follows a bulk processing paradigm where individual AppEventBatches in the InputBatch are processed independently from each other. If an AppEventBatch fails to be processed, this does not affect the processing of the other AppEventBatches in the InputBatch. For all AppEventBatches that fail an individual error status is set for its batchId for the "207" status code. An individual AppEventBatch is processed "all or nothing". After acceptance of a batch, there is delayed processing of it in subsequent components where additional validation happens. This means that even though a batch was successfully accepted, not necessarily all events will pass processing. This subsequent processing includes but is not limited to:
- deduplication
- additional semantic validation
- user identity resolution User Identity is determined once for the whole batch for an app user combination, using the newest information which predates the newest event in the batch.
Request
Responses
- 200
- 207
- 400
- 401
- 500
- 502
OK
Partial Success. Some events were not processed successfully. Check the response for details.
Bad Request Input. Check the response for details
Unauthorized. Please check you authentication details.
Internal Server Error. Please try again or contact us if the error persists
Bad Gateway while committing the events, please try again after a short backoff.