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
- In the Obligo dashboard, open the user menu and select Developers.
- Open your app, or create one.
- 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
accountIdtells 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
securityItemCommittedandstatusChanged. - Event types. Endpoints can't filter events. Apps on API version
1.2receive every event below, and apps on1or1.1only thelease.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 withGET /leases/{leaseId}/financials. Obligo's payouts still send webhooks.
Events
| Event | Sent when | data |
|---|---|---|
lease.availableProducts.statusChanged | An existing product's status changes. | The changed products |
lease.availableProducts.optedOut | A product's optedOut becomes true: the renter chose a Traditional cash deposit, or qualification was declined. | The changed products |
lease.financials.securityItemCommitted | Obligo creates an item in the lease's security, for example when the renter is approved. | The security item |
lease.financials.balanceItemCommitted | A new or existing balance item becomes Committed. | The balance item |
lease.financials.balanceItemInProgress | A balance item moves to InProgress. | The balance item |
lease.financials.balanceItemSettled | A balance item moves to Settled. | The balance item |
lease.financials.balanceItemFailed | A balance item moves to Failed. | The balance item |
lease.financials.pendingItem.paymentStatusInProgress | A pending item's paymentStatus changes to InProgress. | The pending item |
lease.financials.pendingItem.paymentStatusFailed | A pending item's paymentStatus changes to Failed. | The pending item |
lease.financials.securityItem.paymentStatusInProgress | A security item's paymentStatus changes to InProgress. | The security item |
lease.financials.securityItem.paymentStatusFailed | A security item's paymentStatus changes to Failed. | The security item |
lease.financials.securityItem.paymentStatusSettled | A security item's paymentStatus changes to Settled. | The security item |
account.consent.created | The account accepts Obligo's terms of service. | {"type": "ObligoTermsOfService"} |
account.portfolioAssessment.statusChanged | The 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 exampleBillingAuthorization.status(enum) — One ofEligible,NotEligible,Active(the renter is approved),Declined(qualification was declined) orNotActive(the coverage was reversed).optedOut(boolean) — Whether the renter opted out of the product.skipOption(string or null) —Allowedwhen the renter can skip choosing a plan, otherwisenull. Some events omit it, even when it'sAllowed, such as an event Obligo sends again. When it's missing, retrieve the lease withGET /leases/{leaseId}for its value.eligibility.restrictions(array) — The eligibility rules the lease doesn't meet yet, each as{type, source}, wheresourceisObligoorAccount.additionalInfo.securityAmount(integer) — The security in cents: the available amount whenstatusisActive, 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/jsonUser-Agent: ObligoObligo-Signature: t=<timestamp>,v=<signature>
| Property | Type | Description |
|---|---|---|
id | string | The webhook's UUID, the same on every delivery attempt. |
type | string | The event type. |
data | object or array | The event's data, as listed under Events. |
accountId | string | The 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. |
apiVersion | string | Your app's API version, for example 1.2. |
parentEntityId | string | The lease ID for lease and financial events, or the account ID for account.portfolioAssessment.statusChanged. Omitted for account.consent.created. |
createdAt | string | When 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:
- From the
Obligo-Signatureheader, parset, the Unix time in milliseconds when Obligo sent the attempt, and the signaturev. - 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. - Check that the computed signature has the same length as
v, then compare the two in constant time. - Reject the webhook if
tis more than about 5 minutes from your server's clock. Each attempt has a newtand 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.