Lender API & webhooks

Available to lender organizations on Premium. Org admins create keys and endpoints on Organization → Integrations. Read-only; no documents are exposed.

Authentication

Send your key as a bearer token. Keys can be limited to scopes and to specific branches; revoke any time.

curl -H "Authorization: Bearer prk_xxxxxxxxxxxx_..." \
  "https://pillarready.com/api/v1/files?from=2026-01-01&to=2026-12-31&locationId=<branch id>"

Endpoints

Filters: from, to (YYYY-MM-DD, by share date), locationId. Errors: 401 bad key, 402 Premium inactive, 403 scope/branch, 429 rate limit (120/min per key).

Webhooks

Events: file.shared, file.routed, offer.accepted, condition.added, condition.cleared, loan.stage_changed, loan.funded. We POST JSON { id, type, created, data }; respond 2xx within 5 seconds. Failures retry with backoff (1m, 5m, 25m, ~2h, ~10h; 6 attempts), and you can retry from the delivery log.

Verify X-PillarReady-Signature: t=<unix>,v1=<hex> where v1 = HMAC-SHA256(signing secret, t + "." + raw body); reject if t is more than 5 minutes old.

const [t, v1] = header.split(",").map(p => p.split("=")[1]);
const want = crypto.createHmac("sha256", secret).update(t + "." + rawBody).digest("hex");
const ok = crypto.timingSafeEqual(Buffer.from(want), Buffer.from(v1)) && Math.abs(Date.now()/1000 - +t) < 300;