v1
latestOpenAPI 3.1.02026-07-222392081.7 MBBillable events
Ingest billable event
Ingest a new billable event. This endpoint is idempotent, an event with the same id will be updated if it already exists.
post/v1/events
Query parameters
with_price_calculationboolean nullable
Whether to simulate prices for the event. Will be received in webhooks.
Example:true
Whether to simulate prices for the event. Will be received in webhooks.
Request body
Example request
{
"customer_id": "cus_CrqwefTRWBWRT",
"event_type": "api_call",
"timestamp": "2024-12-20T16:04:11Z",
"record": {
"id": "D32NAA8",
"durationInMs": 32,
"isVerified": true
}
}Response
Event ingested