Youniton Docs

Webhooks

Youniton sends signed webhooks to your HTTPS endpoints, and it can receive signed webhooks that start automation flows. Both use the Standard Webhooks signature.

#Outgoing webhooks

An Admin registers HTTPS endpoints in Administration › Automation › Webhooks. Two sources send to them:

  • Automation rules with the action "send webhook". The payload holds only the fields that the rule lists.
  • Help-desk connections that subscribe to request events: request.created, request.updated, request.message_posted, request.decided and request.closed.

Endpoints are closed to project rules by default. Only an Admin's tenant rules can send data out until an Admin opens the endpoint.

#The headers of a delivery

POST to your endpoint
POST /youniton/webhooks HTTP/1.1
Host: hooks.example.com
Content-Type: application/json
User-Agent: Youniton-Webhooks/1
webhook-id: 0192f1b4-1d2e-7a3b-9c4d-5e6f7a8b9c0d
webhook-timestamp: 1792502400
webhook-signature: v1,K5oZfzN95Z9UVu1EsfQmfVNQhnkZ2pj9o9NDN/H/pI4=
HeaderMeaning
webhook-idThe id of the delivery. It stays the same over every retry and every redelivery. Deduplicate on it.
webhook-timestampUnix seconds of this attempt. It is new for each attempt.
webhook-signaturev1,<base64 HMAC-SHA256> over {webhook-id}.{webhook-timestamp}.{body}. During a secret rotation it holds two signatures, separated by a space.

#The secret

Each endpoint has a secret that starts with whsec_ (32 random bytes, base64). Youniton shows it one time, at creation. A rotation shows the new secret one time and keeps the old one for 24 hours; in that time each delivery carries both signatures.

#The payload of a rule

Body of an automation delivery
{
  "id": "0192f1b4-1d2e-7a3b-9c4d-5e6f7a8b9c0d",
  "type": "…",
  "occurredAt": "2026-10-20T13:10:00Z",
  "tenantId": "…",
  "rule": { "id": "…", "version": 3, "name": "…" },
  "trigger": { "type": "…", "eventId": "…" },
  "subject": { "type": "ticket", "id": "…", "key": "ORB-124" },
  "data": { }
}

data holds only the fields that the rule's action lists, as the rule's owner may see them. A payload is at most 64 KiB. Youniton freezes the bytes when the rule step runs: a retry sends exactly the same bytes.

#Retries

Your answerWhat Youniton does
any 2xx within 10 secondsthe delivery is delivered
410 GoneYouniton disables the endpoint
another status, a timeout or a network errorretry after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h and 24 h (about 45 hours). Then the delivery is failed and the Admins get a notice

An endpoint that fails for 3 days in a row pauses. One success makes it active again. An Admin can redeliver a failed delivery under the same webhook-id while its payload is stored (7 days), and can send a test delivery of type kanseo.test.

#Incoming webhooks for Automation

Another system can start an automation flow with a signed POST to https://app.youniton.example/webhooks/automation/{endpointId}. The signature is the same Standard Webhooks scheme.

Read Automation inbound webhooks for the signing code and the answers.

#Calls back into Youniton

When your receiver calls the public API because of a delivery, send X-Kanso-Causation: <webhook-id>. Youniton then counts the events that your call causes in the same automation chain, so a loop stops at the chain's depth limit.

Was this helpful?