ingest raw event synchronously for a feature
Validate and synchronously ingest a raw event for one feature slug. This is useful when you want to enforce exact limits from a ingestion.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The synchronous raw event ingestion payload
Logical idempotency key for deduplicating raw events
"idem_123"
The event slug
"tokens_used"
Arbitrary event properties
{ "amount": 1 }The feature slug to verify and ingest synchronously
"tokens"
Optional event id. If omitted, the API will generate an internal event id for processing.
"evt_123"
The unprice customer id
"cus_123"
Event timestamp in epoch milliseconds, if not provided will use the time of the request
1741454800000
Response
The synchronous ingestion result for the targeted feature
Whether the event was accepted and synchronously ingested for the feature
true
Synchronous ingestion lifecycle state for the targeted feature
processed, rejected "processed"
Business rejection reason when the event could not be ingested
CUSTOMER_NOT_FOUND, EVENT_TOO_OLD, INVALID_ENTITLEMENT_CONFIGURATION, INVALID_AGGREGATION_PROPERTIES, LIMIT_EXCEEDED, LATE_EVENT_CLOSED_PERIOD, NO_MATCHING_ENTITLEMENT, UNROUTABLE_EVENT, WALLET_EMPTY "LIMIT_EXCEEDED"
Optional details about the synchronous ingestion result
"Limit exceeded for meter meter_123"

