PlatformIntegrations

Webhooks

Receive signed event notifications from Obligo at your HTTPS endpoint, and verify them.

Webhooks notify your server when something changes in Obligo, such as a renter's approval or a balance item's status. Obligo sends each event as a signed JSON POST to the endpoints you create on an app. Act on events through the API.

Create an endpoint

  1. In the Obligo dashboard, open the user menu and select Developers.
  2. Open your app, or create one.
  3. In the app's webhook endpoints section, create an endpoint with your URL.

A new endpoint is enabled and has its own signing secret, a 32-character hex string. The endpoint's page lets you reveal or copy the secret, see its delivery activity, and enable, disable or delete the endpoint.

  • The API can't manage endpoints, and you can't update an endpoint's URL: create a new endpoint and delete the old one.
  • A disabled endpoint receives no new events, and enabling it again doesn't send the ones it missed. Disabling or deleting the app stops all its endpoints.

The endpoint URL must:

  • use https
  • use a hostname, not an IP address
  • contain no username or password
  • resolve only to public IP addresses

To test on your own machine, use a public HTTPS tunnel.

Which events reach your endpoint

  • Accounts. An app receives events for its own account, its connected accounts, and properties shared with its account. The envelope's accountId tells them apart.
  • Leases. A lease without a property sends no lease or financial events. If you link the property after the renter is approved, Obligo then sends securityItemCommitted and statusChanged.
  • Event types. Endpoints can't filter events. Apps on API version 1.2 receive every event below, and apps on 1 or 1.1 only the lease.financials.* events.

Note: Obligo sends no lease.financials.* webhooks for changes any API app makes, including the release after an app's own charge. After your own changes, retrieve the lease's financials with GET /leases/{leaseId}/financials. Obligo's payouts still send webhooks.

Events

EventSent whendata
lease.availableProducts.statusChangedAn existing product's status changes.The changed products
lease.availableProducts.optedOutA product's optedOut becomes true: the renter chose a Traditional cash deposit, or qualification was declined.The changed products
lease.financials.securityItemCommittedObligo creates an item in the lease's security, for example when the renter is approved.The security item
lease.financials.balanceItemCommittedA new or existing balance item becomes Committed.The balance item
lease.financials.balanceItemInProgressA balance item moves to InProgress.The balance item
lease.financials.balanceItemSettledA balance item moves to Settled.The balance item
lease.financials.balanceItemFailedA balance item moves to Failed.The balance item
lease.financials.pendingItem.paymentStatusInProgressA pending item's paymentStatus changes to InProgress.The pending item
lease.financials.pendingItem.paymentStatusFailedA pending item's paymentStatus changes to Failed.The pending item
lease.financials.securityItem.paymentStatusInProgressA security item's paymentStatus changes to InProgress.The security item
lease.financials.securityItem.paymentStatusFailedA security item's paymentStatus changes to Failed.The security item
lease.financials.securityItem.paymentStatusSettledA security item's paymentStatus changes to Settled.The security item
account.consent.createdThe account accepts Obligo's terms of service.{"type": "ObligoTermsOfService"}
account.portfolioAssessment.statusChangedThe portfolio assessment's status changes to Required, PendingReview, Approved or Rejected.{"status": "PendingReview"}

In the lease.availableProducts.* events, data is an array of products with these properties:

  • type (string) — The product, for example BillingAuthorization.
  • status (enum) — One of Eligible, NotEligible, Active (the renter is approved), Declined (qualification was declined) or NotActive (the coverage was reversed).
  • optedOut (boolean) — Whether the renter opted out of the product.
  • skipOption (string or null) — Allowed when the renter can skip choosing a plan, otherwise null. Some events omit it, even when it's Allowed, such as an event Obligo sends again. When it's missing, retrieve the lease with GET /leases/{leaseId} for its value.
  • eligibility.restrictions (array) — The eligibility rules the lease doesn't meet yet, each as {type, source}, where source is Obligo or Account.
  • additionalInfo.securityAmount (integer) — The security in cents: the available amount when status is Active, otherwise the pending amount.

A lease's first evaluation sends no statusChanged. To confirm a new lease's eligibility, retrieve it with GET /leases/{leaseId}. Obligo sends no lease.availableProducts.* events after the lease is released.

Financial events send one webhook per changed item, with the item as data in the shape that GET /leases/{leaseId}/financials returns for your app's API version. There's no payout event: a payout to the property management company is a balance item whose relatedEntity.type is Beneficiary.

Envelope

Each webhook is a JSON POST with these headers:

  • Content-Type: application/json
  • User-Agent: Obligo
  • Obligo-Signature: t=<timestamp>,v=<signature>
PropertyTypeDescription
idstringThe webhook's UUID, the same on every delivery attempt.
typestringThe event type.
dataobject or arrayThe event's data, as listed under Events.
accountIdstringThe account the event belongs to: for lease and financial events, the owner of the lease's property. To act on a connected account, send this ID in the Account-Id header. See Authentication.
apiVersionstringYour app's API version, for example 1.2.
parentEntityIdstringThe lease ID for lease and financial events, or the account ID for account.portfolioAssessment.statusChanged. Omitted for account.consent.created.
createdAtstringWhen Obligo created the webhook, as an ISO 8601 timestamp. It's the same on every attempt.

Obligo leaves out empty properties.

{
  "id": "0b6f2c8e-5d1a-4f3b-9c7e-2a4d6e8f0a1b",
  "type": "lease.availableProducts.statusChanged",
  "createdAt": "2026-05-01T14:03:11.512Z",
  "accountId": "8d3c5c2e-1f4a-4b2c-9e7d-6a5b4c3d2e1f",
  "apiVersion": "1.2",
  "parentEntityId": "550e8400-e29b-41d4-a716-446655440000",
  "data": [
    {
      "type": "BillingAuthorization",
      "status": "Active",
      "optedOut": false,
      "eligibility": {
        "restrictions": []
      },
      "additionalInfo": {
        "securityAmount": 250000
      }
    }
  ]
}

Verify signatures

To verify a webhook:

  1. From the Obligo-Signature header, parse t, the Unix time in milliseconds when Obligo sent the attempt, and the signature v.
  2. Compute the HMAC-SHA256 of <t>.<raw request body>, keyed with the endpoint's signing secret, and hex-encode it. Use the raw bytes: parsing and re-serializing the JSON can change them.
  3. Check that the computed signature has the same length as v, then compare the two in constant time.
  4. Reject the webhook if t is more than about 5 minutes from your server's clock. Each attempt has a new t and signature, so retries pass this check.

For example, in Node.js with Express:

const crypto = require('node:crypto');
const express = require('express');

const SIGNING_SECRET = process.env.OBLIGO_SIGNING_SECRET; // the endpoint's signing secret
const TOLERANCE_MS = 5 * 60 * 1000;

function isValidSignature(header, rawBody) {
  const match = /^t=(\d+),v=([0-9a-f]+)$/.exec(header ?? '');
  if (!match) return false;
  const [, timestamp, signature] = match;

  if (Math.abs(Date.now() - Number(timestamp)) > TOLERANCE_MS) return false;

  const expected = crypto
    .createHmac('sha256', SIGNING_SECRET)
    .update(`${timestamp}.`)
    .update(rawBody)
    .digest('hex');

  const received = Buffer.from(signature);
  const computed = Buffer.from(expected);
  return received.length === computed.length && crypto.timingSafeEqual(received, computed);
}

const app = express();

app.post('/webhooks/obligo', express.raw({ type: 'application/json' }), (req, res) => {
  if (!isValidSignature(req.get('Obligo-Signature'), req.body)) {
    return res.sendStatus(400);
  }

  const event = JSON.parse(req.body.toString('utf8'));
  res.sendStatus(200); // respond within 10 seconds

  processEvent(event); // your code: deduplicate on event.id, then process
});

Delivery and retries

An attempt succeeds when your endpoint returns a 2xx status within 10 seconds, so respond before you process the event. Obligo makes up to 5 attempts: one right away, then up to 4 retries. Retries run on a fixed schedule, alternately 15 and 45 minutes apart, so the first retry can come within minutes of the first attempt, and the last attempt is at most 2 hours after the first. After that, retry the delivery from the endpoint's activity list.

  • Order and duplicates. Webhooks can arrive out of order or more than once. Deduplicate on id, and retrieve the current state from the API before you act.
  • Rotating a signing secret. Create a new endpoint, switch your server to its secret, then delete the old endpoint. Until then, both endpoints receive every event, each copy with its own id.
  • Source IP addresses. Obligo doesn't publish them. Verify signatures instead of allowlisting IP addresses.