Integrate Localazy with your tools using webhooks. Receive real-time updates on Localazy project events to automate your localization process.
Receive instant notifications when new comments are added, new content is imported, project changes are published, and other helpful events.
Automatically trigger internal workflows, save time, and keep the translation process going without unnecessary manual supervision.
Use the Localazy API to manage your webhooks configuration programmatically & set up custom workflows for each project without hassle. Configure everything to match your needs, and lose nothing in the automated process.
Localazy authenticates webhook events by including a signature in the request header. This security measure lets you verify that the events were genuinely sent by Localazy rather than a third party. This signature verification is important to implement on your receiving endpoint to ensure the security of your webhook integrations.
Header name | Description | Type |
---|---|---|
X-Localazy-Timestamp | UNIX timestamps in seconds | string |
X-Localazy-HMAC | HMAC SHA 256 of “{ts}-{raw post body}” signed by secret |
string |
Before you can verify signatures, you need to retrieve your project secret using the webhook secret endoint.
To verify that the request sent is valid (and therefore has not been modified during the transfer) calculate the hash of the request, and compare it with the value stored in the X-Localazy-HMAC
header.
Learn more about Localazy Webhooks Security
Webhooks in Localazy are user-defined custom callbacks that trigger when specific actions occur within your Localazy projects.
You can currently hook into five different events:
comment_added
: Triggered when someone adds a comment to your projectimport_finished
: Triggered when content importing completes with changes (added, updated, or deprecated keys)import_finished_empty
: Triggered when importing finishes but no changes occurredproject_published
: Triggered when your project is successfully publishedtag_promoted
: Triggered when a release tag is promoted to another tagUsing the @localazy/api-client
you can interact with the Localazy API in an easier way. Below is an example for obtaining a list of webhooks.
import { ApiClient } from '@localazy/api-client';
const api = new ApiClient({ authToken: 'project-token' });
const webhooks = await api.webhooks.list({
project: 'project-id', // or Project object
});
Learn more about the Localazy API client on GitHub
By navigating to the “Webhook Logs” inside the Localazy Developer Console, you’ll find a report detailing your webhook events.
You can review:
This allows you to track which webhooks are active, debug any issues, and view their full history.
In Localazy, you can manage webhooks through both the user interface and the API.
To set up and configure webhooks via the user interface, navigate to your project’s settings and select the “Webhooks” section. From there, you can manage your Webhooks in a user-friendly interface.
Learn more about managing Webhooks
For API-based management, Localazy also provides endpoints that allow you to programmatically create, update, and delete webhooks. Detailed instructions for API are available in the Localazy documentation.
"We operate multiple complex websites with many languages. Before we switched to Localazy, managing and keeping all dictionaries up-to-date was pure hell. We can now easily review, manage, and keep all dictionaries up-to-date whenever we add or modify any functionality."
"We looked for a solution that can cover several use cases across our project, and Localazy is a clear winner. Thanks to CLI tools, git and branching, and features, we could integrate Localazy with GitHub Actions for automated documentation translation delivery."
"Localazy has significantly streamlined our localization process, making it more efficient and organized. The ease of collaboration and the clear tracking of translation progress have been instrumental in improving our workflow."
"Localazy is a really user-friendly platform. We enjoy combining our in-house people, automated professional translations, and crowdsourcing the translations from the community in one project without too much management needed to make everything work."
"I'd recommend Localazy to other peers in my industry. It offers good pricing, has a good UI and ultimately does its job. Being able to find missing translations and easily use machine translations is very smart."