curl --request POST \
--url https://api.example.com/api/v1/events/ingest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"code": "<string>",
"customer_id": "<string>",
"event_id": "<string>",
"timestamp": "<string>",
"properties": {}
}
],
"allow_backfilling": true
}
'{
"failures": [
{
"event_id": "<string>",
"reason": "<string>"
}
]
}Ingest usage events for metering and billing purposes.
curl --request POST \
--url https://api.example.com/api/v1/events/ingest \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"code": "<string>",
"customer_id": "<string>",
"event_id": "<string>",
"timestamp": "<string>",
"properties": {}
}
],
"allow_backfilling": true
}
'{
"failures": [
{
"event_id": "<string>",
"reason": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Events ingested successfully
Show child attributes