Webhooks

batch.failed

A translation batch ended with status `failed` or `cancelled`.

A translation batch ended with status failed or cancelled. Delivered once per batch.

Header Parameters

X-Transglot-Event*string

The event name, repeated from the body.

Value in"batch.completed""batch.failed""key.created""key.updated""key.deleted""translation.updated""translation.reviewed""language.added""language.removed""glossary.updated""qa.completed""source_drift.repaired"
X-Transglot-Delivery*string

A UUID for this delivery. A redelivery gets a new one.

Formatuuid
X-Transglot-Timestamp*string

Unix time, in seconds, when this attempt was signed.

X-Transglot-Signature*string

sha256= followed by the lowercase hex HMAC-SHA256 of <timestamp>.<raw body>, keyed with the endpoint's signing secret.

User-Agent*string

Request Body

application/json
  1. body
event*WebhookEventName
Value in"batch.completed""batch.failed""key.created""key.updated""key.deleted""translation.updated""translation.reviewed""language.added""language.removed""glossary.updated""qa.completed""source_drift.repaired"
delivered_at*string

When the event was emitted. A redelivery repeats the original value.

Formatdate-time
project*
batch?

A translation run.

Response Body

Any 2xx status marks the delivery as succeeded. Anything else, a timeout after 10 seconds or a redirect counts as a failure and is retried.

Example Requests

POST/batch.failed