Overwrite event
Records a new version of the event identified by idempotencyKey, fully replacing properties (including properties.value). Frozen fields (eventName, customerExternalId, occurredAt) must match the existing event or the request is rejected with ImmutableFieldChange. If no event exists for the key, version 1 is created. Returns the recorded event.
Authorizations
API Key Authentication.
Path Parameters
Unique key to ensure idempotency of the event.
^[a-zA-Z0-9_-]+$Body
Full replacement payload for the event identified by idempotencyKey. Frozen fields (eventName, customerExternalId, occurredAt) must match the existing event; properties (including properties.value) is overwritten.
Identifier of the event.
^[a-zA-Z0-9_-]+$"api_request"
External identifier of the customer involved in the event.
^[a-zA-Z0-9_-]+$"cust_1234567890abcdef"
A dictionary of additional properties associated with the event.
{
"value": 3600,
"endpoint": "/api/v1/users",
"method": "GET",
"status_code": 200
}ISO 8601 timestamp in UTC indicating when the event occurred.
"2024-01-01T12:00:00Z"
Response
Schema defining an event.
Unique identifier for the event.
Unique key to ensure idempotency of the event.
^[a-zA-Z0-9_-]+$"123e4567-e89b-12d3-a456-426614174000"
Identifier of the event.
^[a-zA-Z0-9_-]+$"api_request"
External identifier of the customer involved in the event.
^[a-zA-Z0-9_-]+$"cust_1234567890abcdef"
A dictionary of additional properties associated with the event.
{
"value": 3600,
"endpoint": "/api/v1/users",
"method": "GET",
"status_code": 200
}ISO 8601 timestamp in UTC indicating when the event occurred.
"2024-01-01T12:00:00Z"
ISO 8601 timestamp in UTC indicating when the event was created.
ISO 8601 timestamp in UTC indicating when the event was archived, or null if active.
Version number. v1 is the original; subsequent versions are edits or archives.