pulso Docs

Integrations

View as Markdown

Outgoing webhooks

Outgoing webhooks send a signal to a URL of yours as a JSON POST. Use them to open a ticket, trigger an automation or feed another tool.

Add an endpoint#

  1. Go to Settings → Webhooks and click New endpoint.
  2. Enter a Name and the URL. It must be http or https and point to a public host.
  3. Click Save.
  4. Copy the signing secret shown at the top of the endpoint’s page. It is only shown once; you need it to verify requests.

The endpoint’s page lists the monitors that post to it and its latest events, with links to see all.

Send signals to it#

Add a Webhook step to a monitor’s playbook and choose the Webhook endpoint. When the playbook reaches the step, Pulso posts the signal.

Click test on the step to send a sample request right away.

The request#

POST /your/path HTTP/1.1
Content-Type: application/json
X-Pulso-Webhook-Event: 01JD8Q4Z0Y3M2K7V5N6T9W1XRA
X-Pulso-Timestamp: 1795166102
X-Pulso-Signature: v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd
{
  "id": "01JD8Q4Z0Y3M2K7V5N6T9W1XRA",
  "source": "activity_monitor#Stuck payments",
  "specversion": "1.0",
  "type": "run.pulso.monitor_signal.created",
  "data": {
    "id": "01JD8Q4YV7C1H2B3N4M5K6J7HG",
    "activity_monitor_id": "01JC2B7XQ1W2E3R4T5Y6U7I8OP",
    "account_id": "01JA0F1G2H3J4K5L6M7N8P9Q0R",
    "message_title": "Payment 4815 is stuck",
    "message_body": null,
    "data": { "id": 4815, "customer_email": "ana@example.com", "amount": 120.5 },
    "reference": "id:4815",
    "status": "open",
    "priority": "high",
    "assignee_id": null,
    "team_id": null,
    "only_notification": false,
    "resolved_at": null,
    "created_at": "2026-11-20T09:15:02.123Z",
    "updated_at": "2026-11-20T09:15:02.123Z",
    "url": "https://pulso.run/accounts/…/signals/01JD8Q4YV7C1H2B3N4M5K6J7HG"
  }
}

The body follows the CloudEvents 1.0 shape:

Field Value
id The event id. It is the same on every retry and matches the X-Pulso-Webhook-Event header, so use it to ignore duplicates.
source activity_monitor# followed by the monitor’s name.
specversion 1.0
type run.pulso.monitor_signal.created, or run.pulso.monitor_signal.created.test for test requests.
data The signal.

In data:

  • data holds the row the monitor found, with the column names as keys.
  • message_title and message_body are the signal’s title and body.
  • reference is built from the monitor’s uniq by columns.
  • status is open, pending, acknowledge, in_progress or resolved.
  • priority is low, medium, high or critical.
  • url links to the signal in Pulso. It is null in test requests.
  • data also includes the ids of the related records (account_id, activity_monitor_id, monitor_check_id, assignee_id, team_id) and the fields prefetch and playbook_template.

Verify the signature#

Each request is signed with the endpoint’s signing secret, so you can check that it comes from Pulso and that the body wasn’t changed:

  • X-Pulso-Timestamp is the time the request was sent, in Unix seconds.
  • X-Pulso-Signature is v1= followed by the hex HMAC-SHA256 of the timestamp, a . and the raw request body, keyed with the signing secret.

To verify a request:

  1. Join the X-Pulso-Timestamp value, a . and the raw body exactly as received, before parsing the JSON.
  2. Compute the HMAC-SHA256 of that string with your signing secret, in hex.
  3. Compare it with the value after v1= using a constant-time comparison.
  4. Reject requests whose timestamp is more than 5 minutes away from your clock, so an old request can’t be replayed.

In Ruby:

timestamp = request.headers["X-Pulso-Timestamp"].to_s
body = request.raw_post
expected = "v1=" + OpenSSL::HMAC.hexdigest("SHA256", ENV["PULSO_SIGNING_SECRET"], "#{timestamp}.#{body}")

valid = ActiveSupport::SecurityUtils.secure_compare(expected, request.headers["X-Pulso-Signature"].to_s) &&
  (Time.now.to_i - timestamp.to_i).abs <= 300

In Node.js:

import crypto from 'node:crypto';

function verify(rawBody, headers, secret) {
  const timestamp = headers['x-pulso-timestamp'] ?? '';
  const expected = 'v1=' + crypto.createHmac('sha256', secret).update(`${timestamp}.${rawBody}`).digest('hex');
  const received = headers['x-pulso-signature'] ?? '';
  const fresh = Math.abs(Date.now() / 1000 - Number(timestamp)) <= 300;
  return fresh && received.length === expected.length &&
    crypto.timingSafeEqual(Buffer.from(received), Buffer.from(expected));
}

Retries are signed again with a new timestamp. To tell repeats apart, use the event id.

Rotate the secret#

Click Rotate next to the signing secret on the endpoint’s page. The new secret is shown once and signs every request from then on; the old one stops working right away, so update your receiver at the same time.

Endpoints created before requests were signed have no secret and send no signature headers. Click Generate on the endpoint’s page to start signing them.

Responses and retries#

Answer with any 2xx status within 1 second. Any other status, a timeout or a connection or TLS error counts as a failure.

Pulso retries a failed request after 5 seconds, 1 minute, 5 minutes and 1 hour, and then gives up. Test requests are not retried.

Webhooks between Pulso accounts#

Requests carry the X-Pulso-Webhook-Event header. If you point an outgoing webhook at a Pulso webhook data source, the request is ignored, so signals don’t bounce between accounts.