Skip to content

HTTPS Webhook

Sends events as a JSON payload via HTTPS POST to a configured endpoint.

The endpoint's certificate must be issued by a publicly trusted CA.

In short

A batch of up to 500 events per POST, signed with HMAC-SHA256 in the X-Webhook-Signature header. Reply with a 2xx within 10 seconds. A failed delivery is retried later with a smaller batch. A sample payload is on the overview page.

Configuration

Field Required Description
Name Yes A descriptive name for this forwarder
URL Yes HTTPS URL of the webhook endpoint
Secret Yes HMAC-SHA256 signing key
Authorization Header No Bearer token sent in the Authorization header
Event Filters No Select which event categories or types to forward

Payload

One request carries a batch of up to 500 events, in the order they were recorded.

{
  "tenant_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "delivered_at": "2026-04-08T09:25:00.418512Z",
  "events": [
    {
      "xplicittrust": {
        "actor": {"id": "3c9a7e21-5b4d-4f8e-9a6c-2d1e0f7b8a94", "name": "jdoe@example.com", "type": "user"},
        "auth_type": "azure_ad_oidc",
        "client_name": "laptop-jdoe",
        "created_at": "2026-04-08T09:24:59.123Z",
        "event_class": "authentication",
        "event_id": 12345,
        "event_type": "logged_in",
        "message": "jdoe@example.com logged_in",
        "remote_address": "198.51.100.42",
        "session_id": "f0e1d2c3-b4a5-6789-0abc-def123456789",
        "session_type": "client",
        "tenant_name": "Acme Corp",
        "user_email": "jdoe@example.com"
      }
    }
  ]
}

Each element of events is the JSON object a syslog message carries as its body: one key xplicittrust that holds every field of the event. A parser written for one transport reads the other.

Field Description
tenant_id Tenant UUID
delivered_at When the request was built: RFC 3339, UTC
events[].xplicittrust.event_id Event id: an integer, unique and increasing. Deduplicate on it, since a batch can be delivered twice. 0 on a forwarder's own events (heartbeat, test event)
events[].xplicittrust.created_at Event creation time: RFC 3339, UTC, with milliseconds
events[].xplicittrust.actor Who caused the event: type, and id and name where known, see Actor
events[].xplicittrust.* The event's other fields. Which ones are present depends on the event, see the Event Reference

Changed in November 2026

Before release 1.138 each event had id, session_id, event_class and the other base fields at the top and the rest under data. Since 1.138 the webhook sends the same object as syslog. That also changes three details: the OS fields are one object os (name, platform, version) instead of os_name, os_platform and os_version; session_id and remote_address are left out when the event has none (before, an all-zero UUID and an empty string); and created_at has milliseconds instead of microseconds.

Request Headers

Header Value
Content-Type application/json
User-Agent XplicitTrust-CloudController/1.0
X-Webhook-Signature sha256=<HMAC-SHA256 hex digest>
Authorization Bearer <token> (if configured)

Signature Verification

  1. Read the raw request body.
  2. Compute HMAC-SHA256(secret, body) with the configured secret.
  3. Compare the hex digest with the value after sha256= in the X-Webhook-Signature header.

Only the body is signed; headers are not. Replay protection is the receiver's responsibility, and each event's event_id is the key for it.

Responses and Retries

  • Reply with any 2xx status within 10 seconds. The response body is ignored.
  • 429 and 5xx responses and connection errors are retried twice within the same delivery, after about one and two seconds. Any other 4xx response fails the delivery immediately.
  • A failed delivery is retried later with half the batch size (see Delivery). That is also how a 413 Payload Too Large response resolves itself.
  • One delivery including its retries is limited to 60 seconds.

See also