justtrack
Search
K

User Events

Next to sending events from the app, you can also send them Server-to-server (S2S). Therefore, we provide an API that accepts custom events.

API

Request Method: GET
URL: https://sink.justtrack.io/userevents/v0

Required Parameters

The following parameters are required so events are getting tracked.
Parameter
Description
apiKey
Your justtrack API key
userId
Either the justtrack user id or your custom user id, which you provided via the justtrack SDK
platform
ios or android
packageId
The Package ID / Bundle ID of the app
eventName
A custom name for the event

Optional Parameter

The following parameter is optional and used in case events cannot be sent in real time. If no timestamp is provided, we will use the current time.
Parameter
Description
timestamp
The time when the event happened in ISO 8601 format

Example GET Request

https://sink.justtrack.io/userevents/v0?userId=f1004a2c-b04d-4e71-bee1-5b99ca404951&platform=android&packageId=app.package.id&eventName=event_name&timestamp=2022-05-12T09:35:35Z&apiKey=bec4afed-bfdc-4434-8909-ee7666b01d7b