Usage Events
CSV usage event uploads
Batch upload usage events as a CSV file. The processing of the CSV files happens asynchronously, so errors won’t be returned in the response.
Data format
The CSV file must match the following schema:
-
Required columns:
eventType
eventTimestamp
. Date or timestamp with timezone, e.g."2023-09-20"
,"2023-09-20T15:13:11+03:00"
customerAlias
-
Optional columns:
- Event properties: each event property should be a separate column, named
eventProperty#<property_name>
.property_name
can be anything but must besnake_case
. E.g.eventProperties#application_id
,eventProperties#transaction_amount
customerEventId
- Event properties: each event property should be a separate column, named
POST
/
usage-events
/
csv
Headers
Authorization
string
requiredYour API credentials. Eg. Basic {credentials}
.
Sequence-Version
enum<string>
Use this header to select an API version
Available options:
2024-05-09
Body
multipart/form-data
file
file
required