Analytics

Send play events

POST
/v1/analytics/events

Up to 5,000 events per call. Each lands in the raw event stream and updates that title's daily figures in Ingenee analytics. Replaying a batch is safe.

Scope: analytics:write

Authorization

apiKey
headerAuthorizationBearer <ik_live_…>

An organisation API key from Settings → Organisation → API keys. Each operation names the one scope it needs — see https://developer.ingenee.ai/docs/authentication.

Header Parameters

Idempotency-Key?string

Any unique string. A retry with the same key and the same request gets the first answer back instead of running twice (kept 24 hours).

Lengthlength <= 255

Request Body

application/json
  1. body
events*array<>
Items1 <= items <= 5000

Response Body

OK

application/json
  1. response
[key: string]?any
Example Request
curl -X POST 'https://dev.app.ingenee.ai/api/v1/analytics/events' \  -H 'Content-Type: application/json' \  -d '{  "events": [    {      "eventType": "play",      "eventAt": "2019-08-24T14:15:22Z"    }  ]}'
Example Response
{}