| name | lokalise-webhooks-events |
| description | Implement Lokalise webhook handling and event processing.
Use when setting up webhook endpoints, handling translation events,
or building automation based on Lokalise notifications.
Trigger with phrases like "lokalise webhook", "lokalise events",
"lokalise notifications", "handle lokalise events", "lokalise automation".
|
| allowed-tools | Read, Write, Edit, Bash(curl:*) |
| version | 1.14.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","lokalise","webhooks"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Lokalise Webhooks Events
Overview
Lokalise webhooks push real-time notifications to your endpoint when translation events occur — keys created, translations updated, files uploaded, contributors added. This skill covers creating webhooks via the API, handling each event type, verifying webhook secrets, and routing events to appropriate handlers.
Prerequisites
- Lokalise project with admin or manager role (required for webhook creation)
- HTTPS endpoint accessible from the internet (Lokalise rejects HTTP URLs)
- Express.js or equivalent HTTP framework
- Webhook secret for payload verification (generated during webhook creation)
Instructions
1. Create a Webhook via the API
Register your endpoint with Lokalise using POST /projects/{project_id}/webhooks:
curl -X POST "https://api.lokalise.com/api2/projects/${PROJECT_ID}/webhooks" \
-H "X-Api-Token: ${LOKALISE_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-app.example.com/webhooks/lokalise",
"branch": "main",
"events": [
"project.key.added",
"project.key.modified",
"project.translation.updated",
"project.translation.proofread",
"project.imported",
"project.exported",
"project.contributor.added",
"project.contributor.deleted"
],
"event_lang_map": [
{"event": "project.translation.updated", "lang_iso_codes": ["en", "fr", "de"]}
]
}'
The response includes a secret field — store this securely. You need it to verify incoming payloads.
To scope webhooks to specific languages, use event_lang_map. This prevents noise from languages you do not manage.
2. Know the Event Types
| Event | Fires When | Key Payload Fields |
|---|
project.key.added | New key created | key.key_id, key.key_name, key.platforms |
project.key.modified | Key name, tags, or metadata changed | key.key_id, key.key_name, key.modifications |