Events
Ingest event
Changed onUse when sending a single usage event from your app (e.g. one API call or one GB stored). Events are processed asynchronously; returns 202 with event_id.
post/events
Request
- Base URLhttps://us.api.flexprice.io/v1
- URLhttps://us.api.flexprice.io/v1/events
- AuthAPI key in header x-api-key
Request body
Example request
{
"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