Webhooks

key.deleted

Keys were deleted in the console or by a push with `sync_removals`.

Keys were deleted in the console or by a push with sync_removals. Coalesced over 30 seconds; samples holds key names.

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*
count?integer

Occurrences in the window.

samples?array<string>

Up to 20 examples, each at most 120 characters.

Itemsitems <= 20
window_seconds?integer

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/key.deleted