POST
/
live
curl --request POST \
  --url http://collector-eu.rimdian.com/live \
  --header 'Content-Type: application/json' \
  --data '{
  "workspace_id": "acme_workspace",
  "items": [
    {
      "kind": "user",
      "user": {
        "external_id": "test_user_1",
        "is_authenticated": false,
        "created_at": "2024-01-01T00:00:00Z",
        "updated_at": "2024-01-01T00:00:00Z",
        "email": "test@website.com",
        "first_name": "John",
        "last_name": "Doe"
      }
    }
  ]
}'
"queued"
This endpoint is used by the JavaScript SDK & mobile to send live user activity. Do not post historical data to this endpoint.

Body

application/json
This endpoint is used by the JavaScript SDK & mobile apps to send live data to the Collector for asynchronous processing
workspace_id
string
required

Workspace ID

items
object[]
required

Array of 100 items max to import

Response

200
text/plain
Data import response

The response is of type string.

Example:

"queued"