Receive webhooks (preview)

Receive a request when someone creates an incident. Use the event to start a workflow or add the incident to another system.

Search all guides and API reference text. Method and scope filter endpoints only.

Filter endpoints by method or scope

Set up your webhook in Tellagen

For example, your team can add each new incident to an internal archive. Tellagen sends the incident to your receiver automatically.

Open Settings → Webhooks in your workspace. Add a name and your receiver's public HTTPS URL, then save the signing secret.

You need permission to manage workspace settings. You do not need an API key for setup in Tellagen.

Prepare your receiver

The receiver needs an HTTPS URL on port 443 that resolves to a public address. Tellagen rejects private addresses, localhost, URL credentials, and URL fragments.

Tellagen does not follow redirects. Use the final destination URL.

Store the signing secret in your receiver configuration. Use it to check each request before you process the event.

Set up webhooks with the API

For automated workspace setup, use the webhook management endpoints. Your API key needs webhooks:manage, and its owner needs the manage_settings permission.

Create a webhook with POST /api/v1/settings/webhooks. HTTP 201 returns webhook and the one-time secret. Save webhook.id for management requests.

The webhook starts paused without verified_at. Prepare the receiver, then call POST /api/v1/settings/webhooks/{id}/verify. A successful check activates it.

Supported events

incident.created is the default event. An omitted or empty event_types array selects it. A subscription can also ask for postmortem.published and postmortem.content_changed. Unsupported event types and duplicate entries return HTTP 400.

Tellagen saves the event with the incident in one database transaction. It creates deliveries only for subscriptions that are active at that time.

A new subscription does not receive earlier events. Tellagen does not send webhooks for incident updates or resolution.

The demo workspace does not send webhook deliveries.

Postmortem events

postmortem.published is sent when a postmortem version is submitted. postmortem.content_changed is sent when a sensitive-data mask rewrote a submitted version after the mask could no longer be undone. Both have the same body. The second adds data.reason, which is sensitive_data_masked, and carries the new content_sha256.

The event is thin. It names the version, its hash and links to the render, never the text. A document can be several MiB and a webhook body is at most 1 MiB. The receiver reads the postmortem with GET /api/v1/postmortems/{versionId}/render and its own API key. The key decides what the receiver may read: without customer_revenue:read, the financial values are left out.

A private incident still sends the event. The receiver's API key decides what it can read.

Drop a webhook-id you have seen already. Retries and duplicates keep the same id.

A mask cannot reach a receiver's copy. After postmortem.content_changed, fetch the render again and write your copy anew. Delete the old value where your wiki keeps history. Tellagen marks the copy as stale until you report the new hash with PUT /api/v1/incidents/{id}/postmortem/external-copies/{target_key}.

Events are kept for seven days. To find versions you missed, list them with GET /api/v1/postmortems/versions?after=<cursor>.

{
  "id": "0b6f2b5e-39f4-4c36-8a5e-6f3d1a9c7e10",
  "type": "postmortem.published",
  "schema_version": 1,
  "occurred_at": "2026-11-14T10:12:00Z",
  "resource": {
    "type": "postmortem_version",
    "id": 41,
    "incident_id": 42,
    "incident_reference": "INC-42",
    "url": "https://tuulekell.tellagen.com/incidents/by-reference/INC-42?tab=postmortem"
  },
  "data": {
    "version": {
      "id": 41,
      "label": "2.1",
      "major": 2,
      "minor": 1,
      "number": 3,
      "title": "Checkout timeouts",
      "created_at": "2026-11-14T10:12:00Z",
      "created_by_name": "Piia Salumäe"
    },
    "supersedes_version_id": 40,
    "content_sha256": "9f2c1e7a4b6d8035a1c7e9f0b2d4a6c8e0f1a3b5c7d9e1f3a5b7c9d1e3f5a7b9",
    "contains_financial": false,
    "renders": {
      "html": "https://tuulekell.api.tellagen.com/api/v1/postmortems/41/render?format=html",
      "markdown": "https://tuulekell.api.tellagen.com/api/v1/postmortems/41/render?format=markdown",
      "confluence_storage": "https://tuulekell.api.tellagen.com/api/v1/postmortems/41/render?format=confluence_storage",
      "tiptap_json": "https://tuulekell.api.tellagen.com/api/v1/postmortems/41/render?format=tiptap_json"
    }
  }
}

What Tellagen sends

Each request uses Content-Type: application/json. The envelope contains id, type, schema_version, occurred_at, resource, and data.

The event id is a UUID. The schema_version is 1. The occurred_at value is the incident creation time in UTC.

The resource object contains the incident type, numeric ID, permanent reference, and revision. The optional resource.url links to the incident.

The data.incident object is a snapshot at creation. It always contains id, reference, and created_at.

Optional fields are title, service, regions, severity, status, issue_type, and impact_summary. Empty optional fields are absent. The example shows a subset of these fields.

{
  "id": "4e937f42-4f28-4f82-9844-91bb3d521922",
  "type": "incident.created",
  "schema_version": 1,
  "occurred_at": "2026-09-14T09:00:00Z",
  "resource": {
    "type": "incident",
    "id": 42,
    "reference": "payments-api-timeout",
    "revision": 1,
    "url": "https://tuulekell.tellagen.com/incidents/by-reference/payments-api-timeout"
  },
  "data": {
    "incident": {
      "id": 42,
      "reference": "payments-api-timeout",
      "title": "Payments API timeout",
      "created_at": "2026-09-14T09:00:00Z"
    }
  }
}

Signature headers

Tellagen uses HMAC-SHA256. The HMAC key is the UTF-8 byte sequence of the complete secret. The key includes the whsec_ prefix. Each signature uses standard Base64.

The signed message contains the event ID, a period, the timestamp, another period, and the original body bytes.

Retries preserve the event ID and body. Each attempt signs the body with the current timestamp.

Signature headers
HeaderValue
webhook-idThe event UUID. It matches the envelope id.
webhook-timestampThe attempt timestamp in Unix seconds.
webhook-signatureOne or more v1,<base64> signatures, separated by spaces.

Check each request

  1. Read the original request body as bytes before any JSON parser changes it.
  2. Require webhook-id, webhook-timestamp, and webhook-signature.
  3. Reject invalid timestamps and timestamps outside the accepted clock window for your receiver.
  4. Join the exact webhook-id, ., webhook-timestamp, ., and original body bytes in that order.
  5. Calculate HMAC-SHA256 with the complete secret as the key.
  6. Do not remove whsec_ or Base64-decode the secret.
  7. Split webhook-signature on spaces to read each v1,<base64> value.
  8. Base64-decode each v1 signature value.
  9. Compare each signature with the calculated digest through a constant-time comparison.
  10. If no signature matches, reject the request.
  11. After signature verification, parse the JSON body.
  12. Check that the envelope id matches webhook-id.

Accept an event once

Duplicate delivery can occur. Concurrent deliveries can arrive out of order. The receiver controls timestamp acceptance and duplicate detection.

The HTTP client timeout is 10 seconds. Tellagen treats a complete HTTP 2xx response as success.

The response body must not exceed 64 KiB.

  1. Use the event id to prevent duplicate processing.
  2. Save the verified event to durable storage.
  3. After the event is safe in storage, return HTTP 204 with an empty body.
  4. Process the saved event asynchronously.
  5. For a duplicate event, return HTTP 204 without duplicate effects.

Retries and delivery deadlines

Tellagen retries errors without an HTTP response, such as connection errors and timeouts. It also retries HTTP 408, 425, 429, and 500–599.

Other HTTP errors and redirects end that delivery.

The default retry delay starts at 5 seconds. It doubles after each failed attempt, up to one hour. The schedule has no random jitter.

A positive Retry-After replaces the default delay, up to one hour. Tellagen accepts seconds or a future HTTP date. An invalid, zero, or past value uses the default delay.

Each delivery allows at most eight attempts, including attempts deferred by request limits. Five consecutive receiver failures stop delivery and require verification again.

Each delivery has a deadline 24 hours after Tellagen queues it. Tellagen stops retries at that deadline. A pause does not extend the deadline.

Tellagen retains event snapshots for seven days. This retention does not extend the retry window. The public API has no delivery history or manual replay endpoint.

Request and queue limits

All Tellagen workers share request limits. These limits also apply to checks and retries. If the shared limiter is unavailable, Tellagen sends nothing.

In this preview, receiver checks allow three requests per minute per workspace, hostname, and IP address. The shared limit is 30 checks per minute.

All outbound HTTP requests also have limits: 120 globally, 30 per workspace, and 10 per hostname and IP address per minute.

These fixed windows can allow bursts at window boundaries. Concurrent requests are limited to 16 globally and two per IP address.

A workspace can queue at most 1,000 deliveries. Events that exceed this capacity are skipped. Incident creation continues.

Replace a signing secret

In Settings → Webhooks, open the webhook's actions and select Replace signing secret. Save the new secret in your receiver configuration.

For 24 hours, Tellagen signs with both the current and previous secrets. Your receiver can accept either signature during this period.

Tellagen keeps only one previous secret. Another replacement ends the earlier overlap. Requests already in progress can still use an earlier secret.

Pause or remove a webhook

Use Settings → Webhooks to pause, resume, or remove a destination. Pausing skips new events. Resuming does not replay events from the pause period.

Queued deliveries can resume before their original deadlines. Removing a webhook cancels queued deliveries and cannot be undone.

A request that Tellagen already sent can still reach your receiver after a pause or removal.

Preview limits

Webhooks are in preview and can change. A workspace can have up to 10 active or paused webhooks. The workspace owns each webhook.