Skip to navigation

Batch Status Update

Sent when a batch completes or fails, with the same delivery, retry and signing rules as generation webhooks. Deduplicate on Sync-Delivery-Id or the batch id.

Headers

Sync-SignaturestringRequired

t=<unix seconds>,v1=<hex HMAC-SHA256> over <t>.<raw request body>, signed with your organization webhook secret.

Sync-Delivery-IdstringRequired
Identifies this delivery. It stays the same on every retry.

Payload

The payload of this webhook request is an object.
idstringRequired
A unique identifier for the batch.
createdAtdatetimeRequired
The date and time the batch was created.
statusenumRequired
The batch status, COMPLETED or FAILED.
Allowed values:
metricsobjectRequired
outputUrlstringRequired
URL of the JSONL results file. A GET follows a 302 redirect to a signed result URL. Empty when there are no results.
webhookUrlstringOptional
The webhook URL the batch was created with.
optionsmap from strings to anyOptional
Batch options.

Response

200
any
Return a 200 status to indicate that the data was received successfully.