v36

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0187270483.0 KB
Webhooks

Collection processing event

Delivered when a batch add or update against a Collection finishes. Reports how many items were processed and lists the IDs that were touched.

For signing-secret setup and retry semantics that apply to every variant, see the Webhooks overview.

postWebhookcollection-processing

Payload

functionCallTryNumberinteger

The attempt number of the function call that created this event. 1 indexed.

eventIDstring required

Unique ID generated by bem to identify the event.

createdAtstring date-time

Timestamp indicating when the event was created.

referenceIDstring required

The unique ID you use internally to refer to this data point, propagated from the original function input.

eventType'collection_processing'
collectionIDstring required

Unique identifier of the collection.

collectionNamestring required

Name/path of the collection.

operation'add' | 'update' required

The operation performed (add or update).

processedCountinteger required

Number of items successfully processed.

collectionItemIDsstring[]

Array of collection item KSUIDs that were added or updated.

status'success' | 'failed' required

Processing status (success or failed).

errorMessagestring

Error message if processing failed.

Response

Return any 2XX status code to acknowledge receipt. The exact code is not inspected.