Webhooks
A webhook is a URL Soluling calls when something happens in a project. Your build server can start a release as soon as the translations are done, and a chat channel can tell the team, without anyone checking the project.
Add a webhook
Open the project's Manage page (from your project list, click Manage). On its Integrations tab, under Webhooks, enter the URL, choose the events, and click Add webhook. Only project admins can open the Manage page. Click Test to send a test call, and Details to see the webhook's secret and its latest calls.
The URL must start with https:// and be on the internet. Soluling doesn't call addresses on a private network, and doesn't follow redirects.
You can also manage webhooks with the REST API: GET and POST projects/{id}/webhooks, PUT and DELETE webhooks/{webhookId}, POST webhooks/{webhookId}/test, and GET webhooks/{webhookId}/deliveries.
Events
| Event | When | Data |
|---|---|---|
language.completed |
Every string of a language has a translation. Sent once. If new strings are added later, it is sent again when they are translated too. Checked every minute. | language, rows |
build.completed |
A build finished, successfully or not. | success, error, languages, published, inContext, actionId |
translation.completed |
Automatic translation finished, successfully or not. | success, error, languages, actionId |
test |
You clicked Test. | message |
The call
Soluling sends a POST with a JSON body:
{
"id": "6f1c2a7e-0c43-4c0e-9d3e-2b6f8f0a1d55",
"event": "language.completed",
"time": "2026-11-26T14:05:19.123Z",
"project": { "id": 123, "guid": "b1e0...", "name": "Driving" },
"text": "Soluling: Finnish is complete - all 245 strings are translated.",
"data": { "language": "fi", "rows": 245 }
}
text is a one-line summary for people. A Slack incoming webhook shows it as the message, so you can enter a Slack webhook URL as it is.
The call has these headers:
X-Soluling-Event- the event.X-Soluling-Delivery- the id of the call. A call sent again has the same id and body.X-Soluling-Signature-sha256=and the hex HMAC-SHA256 of the body, with the webhook's secret as the key.
Check the signature
Anyone who knows the URL can call it. To make sure a call came from Soluling, compute the HMAC-SHA256 of the body exactly as received, and compare it with the header. For example, in Node.js:
const crypto = require('crypto');
function isFromSoluling(rawBody, signature, secret) {
const expected = 'sha256=' + crypto.createHmac('sha256', secret).update(rawBody).digest('hex');
return signature && crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected));
}
And in C#:
static bool IsFromSoluling(string body, string signature, string secret)
{
var hash = HMACSHA256.HashData(Encoding.UTF8.GetBytes(secret), Encoding.UTF8.GetBytes(body));
var expected = "sha256=" + Convert.ToHexString(hash).ToLowerInvariant();
return CryptographicOperations.FixedTimeEquals(Encoding.UTF8.GetBytes(expected), Encoding.UTF8.GetBytes(signature ?? ""));
}
Answers and retries
Answer with any 2xx status within 15 seconds. Do the work after answering - for example, queue the release and answer right away. If the URL doesn't answer, or answers with another status, Soluling tries again after 1 minute, 5 minutes, 30 minutes, 2 hours, and 6 hours, and then gives up. The Details of a webhook show each call's result, and Retry sends a failed call again. The calls of the last 30 days are kept.
A call can arrive more than once, for example when your answer was lost. Use X-Soluling-Delivery to ignore a call you already handled.
See Cloud Tools for SoluCLI and the REST API, and OTA updates for fetching the built files at runtime.