Webhooks

Last modified: March 30, 2021Author: Jakub Pomykała

Webhooks allow external services to be notified when certain events happen. When the specified events happen, we’ll send a POST request to each of the URLs you provide.

translation management system webhooks

Webook payload

{
  "trigger": "AUTO_TRANSLATION_SUCCESS",
  "projectToken": "<YOUR_PROJECT_TOKEN>",
  "jobId": "<JOB_ID>"
}

Table with available trigger field values

trigger value Event description
PUBLICATION Translations publication via API or WEB
CHANGE Every saved translation change via API, WEB or CLI
REVERT On reverted translations via WEB
IMPORT On every file import via WEB, API or CLI
EXPORT On every file export via WEB, API or CLI
EXTRACTION On translations CLI extraction via CLI
AUTO_TRANSLATION_SUCCESS On every succeeded auto-translation job started via WEB, API or CLI. jobId will contain finished job identifier
AUTO_TRANSLATION_FAILED On every failed auto-translation job started via WEB, API or CLI. jobId will contain failed job identifier

Webhook URL cannot contain IP addresses, localhost domain, or SimpleLocalize API. It must be a valid URL. URL must respond to a HEAD request to be added.