Partner integration guide

Last updated 30 November 2026

Listgate sends real estate listings from agencies' CRMs to the products agents choose. This guide is for those products: how listings reach you, what they look like, and how to ask agents for approval. Payload version 1.

How it works

  • Agencies' CRMs send Listgate the same REAXML they send the portals. Listgate cleans it up, hosts the photos and keeps every version.
  • You only receive listings an agency or agent has switched on for you. They can switch you off at any time, or keep a single listing back; you're told to remove it either way.
  • Two ways to receive them: push (we POST every change to your webhook, signed) and pull (you page through our API). Most partners use push, with pull for the first full sync and for catching up.
  • Listgate sets up your account and gives you an API key and, for push, a signing secret. Keep both secret.

Push: webhooks

Every change is a POST of JSON to your webhook URL, with these headers:

  • X-Listgate-Event: listing.upserted, listing.removed or ping (a test). Approval events are below.
  • X-Listgate-Delivery: the delivery id. Use it to ignore duplicates.
  • X-Listgate-Signature: t=<unix seconds>,v1=<hex>, an HMAC-SHA256 of <t>.<raw body> with your signing secret.

Reply with any 2xx within 15 seconds to accept. Anything else is retried with backoff (1 minute, doubling, up to 6 hours apart, 12 tries), so make your handler idempotent: a listing can arrive more than once, and version only goes up.

Check the signature

import crypto from "node:crypto";

// rawBody: the request body exactly as received (before JSON parsing)
export function fromListgate(rawBody, header, secret) {
  const [, t, v1] = /t=(\d+),v1=([0-9a-f]+)/.exec(header || "") || [];
  if (!t || Math.abs(Date.now() / 1000 - Number(t)) > 300) return false; // older than 5 minutes
  const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
  return v1.length === expected.length && crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(expected));
}

The body

{
  "id": "18342",                 // delivery id
  "event": "listing.upserted",
  "payloadVersion": 1,
  "sentAt": "2026-11-30T01:02:03.000Z",
  "listing": {
    "id": "9b2f…",                // Listgate's id: use this as your key
    "agencyListingId": "R2001",   // the CRM's id
    "version": 4,
    "status": "current",          // current | under_offer | sold | leased | withdrawn | off_market
    "kind": "sale",               // sale | rent
    "category": "residential",
    "propertyType": "House",
    "address": { "display": true, "unitNumber": null, "streetNumber": "9", "street": "Lilly Pilly Street",
                 "suburb": "Coorparoo", "state": "QLD", "postcode": "4151", "full": "9 Lilly Pilly Street, Coorparoo QLD 4151" },
    "price": { "text": "Offers over $1,450,000", "value": 1450000, "display": true },
    "rentPerWeek": null,
    "sold": null,                 // { price, display, date } once sold
    "auctionAt": null,
    "features": { "beds": 3, "baths": 2, "cars": 2, "landArea": 405, "landAreaUnit": "squareMeter", "buildingArea": null },
    "ensuites": 1, "toilets": 2, "livingAreas": 2, "garages": 2, "carports": null,
    "featureList": ["Air conditioning", "Pool"],
    "councilRates": "$2,100 pa", "waterRates": null, "strataFees": null,
    "energyRating": null, "yearBuilt": 1998, "dateAvailable": null, "bond": null,
    "headline": "Family home steps from the park",
    "description": "…",
    "images": ["https://…/full.jpg"],
    "floorplans": [],
    "media": { "photos": [{ "url": "…", "thumb": "…", "medium": "…", "full": "…", "width": 2400, "height": 1600, "originalUrl": "…", "hosted": true }], "floorplans": [] },
    "videoUrl": null,
    "inspections": [],
    "agents": [{ "name": "Amy Agent", "email": "[email protected]", "phone": "0400 000 000", "photo": null }],
    "agency": { "id": "4c1e…", "name": "Harper & Vale", "reaxmlAgentId": "HV01", "ref": null },
    "firstSeenAt": "…", "updatedAt": "…", "removedAt": null
  }
}

listing.removed sends just { id, agencyListingId, version, agency }. Take the listing down: it's been withdrawn, or the agent no longer wants it on your product.

Hidden addresses and prices

When an agent hides the street address or the price, address.display or price.display is false and the hidden values are null. Show the suburb and the price text instead. Only partners Listgate has approved as confidential (such as tools agents use privately) receive the hidden values, and they must never show them publicly.

Photos

Photos are copied to Listgate's storage in three sizes (thumb 400px, medium 1200px, full 2400px). hosted: false means it's still the CRM's link because the copy isn't ready yet; you'll get an update when it is.

Pull: the API

Every request needs Authorization: Bearer <your API key>. Base URL: http://localhost:3000/api/v1

  • GET /me: your partner account.
  • GET /agencies: agencies sending their listings to you.
  • GET /listings: listings, oldest change first. ?updatedSince=<ISO time> for changes (removed ones included, so you can delete them), ?cursor= for the next page, ?limit= up to 500, ?agency= for one agency.
  • GET /listings/<id>: one listing.
# First sync: page until nextCursor is null
curl -H "Authorization: Bearer $LISTGATE_KEY" "http://localhost:3000/api/v1/listings?limit=500"
# Then keep the last item's updatedAt and ask only for changes
curl -H "Authorization: Bearer $LISTGATE_KEY" "http://localhost:3000/api/v1/listings?updatedSince=2026-11-30T01:02:03.000Z"

Asking agents for approval

Want an agent's listings? Ask Listgate to email them a one-click approval. The link goes to the agent, never to you, and it can only approve your account.

POST http://localhost:3000/api/v1/approval-requests
{ "email": "[email protected]", "scope": "mine", "note": "Shown in the email" }
// scope: "mine" (their own listings) or "office" (the whole office, if they're allowed)
// optional: "agencyId" (Listgate's) or "agencyRef" (yours, once set)
→ 201 { "id": "…", "status": "sent", "expiresAt": "…" }

GET http://localhost:3000/api/v1/approval-requests?id=<id>   → its status

When they decide, your webhook gets approval.approved or approval.declined, and approved listings start arriving straight away. Requests are limited to a few per email per day.

Property databases (by arrangement)

Some CRMs also share an office's property database: properties, not just listings, and never owner details. If your account is set up for it, GET /properties returns what offices or agents have shared with you. Page with ?cursor= and keep the final cursor; each later run returns only changes. An item with { id, removed: true } is no longer shared: delete it.

The rules

  • Use listings only in the product the agent approved, and take them down when told to.
  • Keep hidden addresses and prices hidden.
  • Fields may be added at any time; ignore ones you don't know. A field is never renamed or removed without a new payloadVersion and notice to you.
  • Don't scrape portals to fill gaps. Listgate only carries listings the agency has authorised.

Get set up

Email [email protected] with your product, webhook URL (if you want push) and a contact for technical notices. See also our terms.