This version of webhook implementation is deprecated. Use current version instead.
Use webhooks to receive instant notifications about events happening in Lokalise as POST requests.
The webhook is sent just once as the event happens and it does not expect any answers from your side. We do not sign the requests, so you may want to restrict the incoming requests from IP's:
159.69.72.82
94.130.129.39
195.201.158.210
94.130.129.237
195.201.84.53
18.192.113.205
3.67.82.138
To set up the app for your project:
Navigate to Apps.
Click Install and then Connect at the required integration
Enter configuration parameters
Select desired events
Click Enable integration
Webhook payload examples
{
"event": "translation.updated",
"created_at": "2017-12-13 14:08:32",
"created_at_timestamp": 1513174112,
"data": {
"translation": "Getting packages.",
"lang": {
"name": "English",
"iso": "en"
},
"key": {
"id": "6949307",
"key": "index.packages"
},
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "translation.proofread",
"created_at": "2017-12-13 14:08:46",
"created_at_timestamp": 1513174126,
"data": {
"translation": "You already have an authorised number.",
"is_proofread": 1,
"lang": {
"name": "English",
"iso": "en"
},
"key": {
"id": "6949305",
"key": "index.already"
},
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "project.import",
"created_at": "2017-12-13 14:10:50",
"created_at_timestamp": 1513174250,
"data": {
"filename": "strings.xml",
"format": "XML",
"inserted": 1,
"skipped": 719,
"updated": 0,
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "project.export",
"created_at": "2017-12-13 14:17:41",
"created_at_timestamp": 1513174661,
"data": {
"bundle_filename": "files/export/121034185a1bfae435ac49.76856749/1513174659/My_SuperApp-Localizable.zip",
"type": "strings",
"platform": "iOS",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "key.added",
"created_at": "2017-12-13 14:18:07",
"created_at_timestamp": 1513174687,
"data": {
"key": "app.index.content",
"key_id": 12345,
"base_value": "Welcome to MyApp!",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "key.deleted",
"created_at": "2017-12-13 14:18:25",
"created_at_timestamp": 1513174705,
"data": {
"key_names": "index.title",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "key.modified",
"created_at": "2017-12-13 14:19:00",
"created_at_timestamp": 1513174740,
"data": {
"key": "contacts_tab_all",
"key_id": 12345,
"previous_key": "contactList",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "key.commented",
"created_at": "2017-12-13 14:19:30",
"created_at_timestamp": 1513174770,
"data": {
"key": "settings_local_sim_status_not_linked",
"comment": "Shown when SIM is not linked.",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "language.added",
"created_at": "2017-12-13 14:19:57",
"created_at_timestamp": 1513174797,
"data": {
"langs": [
{
"lang_iso": "es_CO",
"lang_name": "Spanish (Colombia)",
"lang_id": "647"
}
],
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "language.removed",
"created_at": "2017-12-13 14:20:16",
"created_at_timestamp": 1513174816,
"data": {
"lang_iso": "lt_LT",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "language.settings_changed",
"created_at": "2017-12-13 14:38:34",
"created_at_timestamp": 1513175914,
"data": {
"lang_iso": "es_ES",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "contributor.added",
"created_at": "2017-12-13 14:39:10",
"created_at_timestamp": 1513175950,
"data": {
"email": "petr@lokalise.com",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "contributor.removed",
"created_at": "2017-12-13 14:41:29",
"created_at_timestamp": 1513176089,
"data": {
"email": "petr@lokalise.com",
"project": {
"id": "121034185a1bfae435ac49.76856749",
"name": "My SuperApp"
},
"user": {
"fullname": "John Matthews",
"email": "john@lokalise.com"
}
}
}
{
"event": "team.order.created",
"data": {
"project": {
"id": "138c1ffa0ad94848f01f980e7f2f2af19d1bd553",
"name": "TheApp Project"
},
"order": {
"id": "20101010D85",
"provider": "lokalise",
"currency": "USD",
"total": 10.00
},
"user": {
"email": "jdoe@mycompany.com",
"full_name": "John Doe"
}
},
"created_at": "2019-07-29 12:18:31",
"created_at_timestamp": 1564395511
}
{
"event": "team.order.completed",
"data": {
"project": {
"id": "138c1ffa0ad94848f01f980e7f2f2af19d1bd553",
"name": "TheApp Project"
},
"order": {
"id": "20101010D85",
"provider": "lokalise"
}
},
"created_at": "2019-07-29 12:18:31",
"created_at_timestamp": 1564395511
}