Events
Bulk ingest events
Changed onUse when batching usage events (e.g. backfill or high-volume ingestion). More efficient than single event calls; returns 202 when accepted.
post/events/bulk
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/events/bulk
- AuthAPI key in header x-api-key
Request body
Example request
{
"events": [
{
"customer_id": "customer456",
"event_id": "event123",
"event_name": "api_request",
"external_customer_id": "customer456",
"properties": {
"\"response_status\"": "200}",
"{\"request_size\"": "100"
},
"source": "api",
"timestamp": "2024-03-20T15:04:05Z"
}
]
}Response
message:Event accepted for processing
object required
Changes
- warning
added the new
not_implementedenum value to theresponse property for the response status - warning
added the new
not_implementedenum value to theresponse property for the response status
- warning
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
too_many_requestsenum value to theresponse property for the response status - warning
added the new
too_many_requestsenum value to theresponse property for the response status
- warning