Skip to main content

Bulk report usage

POST 

/v0/analytics/report

This endpoint should be used when you want to bulk report events to Epidemic Sound. We currently support the following events: trackPreviewed, trackDownloaded and tracksExported. Note that the limit for number of events per request is limited to 100. Also note that for events containing the field trackIds, the limit for number of trackIds per event is 50. Events may not contain a timestamp older than 7 days ago.

Request

Body

Analytics report

    events

    object[]

    required

  • Array [

  • userId string
    timestamp date-time
    userConnected booleannullable

    analyticsEvent

    object

    oneOf

    trackId string
    type string

    Possible values: [trackPreviewed]

  • ]

Responses

Usage report response

Schema

    batchId stringrequired
    eventsCount int32required
Loading...