iMatch Connect is a REST API over the iMatch market: live listings, buyer and tenant inquiries, the Dubai project catalogue, distress deals, and the matches between your records and everyone else's. The same key also opens signed webhooks, an embeddable set of our tools, a Copilot chat endpoint and an MCP server for AI clients.
Base URL for every call:
https://api.imatch.ae/v1
https://app.imatch.ae/api/v1 is the same API on the panel host — every URL under it keeps working forever; the front door above is simply the shorter address to configure.
1. Get a key
Access is granted by iMatch — there is no self-serve sign-up. Request access and you will receive a key that looks like imc_live_ followed by 40 letters and digits. Store it as a secret on your server. It is shown once; we keep only a hash of it.
Ask for a test key (imc_test_…) first: it works on every endpoint below with real reads, simulated writes, masked contacts and synthetic webhook events, so nothing you do while integrating can touch a real person — see Sandbox. Switch to the live key when you are ready; nothing else changes.
external_id is your own id for the record. Send the same one again and the row is updated, never duplicated. A new Active listing is matched against live inquiries automatically; the matches show up under /matches and, if you subscribe, arrive as match.created webhooks.
Where to go next
The full machine-readable contract: openapi.json (OpenAPI 3.1).
Make "my listings" mean a *person*, not the brokerage — one login, once: Agent links.
Authentication
One bearer key per integration. Nothing else to configure.
Every request carries your key in one of two headers. Both are equivalent; use whichever your HTTP client makes easier.
Authorization: Bearer imc_live_YOUR_KEY
X-Api-Key: imc_live_YOUR_KEY
Keys
A key is imc_live_ + 40 letters and digits. Anything else is refused as unauthorized before we look it up.
We store only a SHA-256 hash. The full key is shown to you once, when it is created. If you lose it, ask for a new one; the old one is revoked.
A key belongs to a partner and inherits that partner's feature switches and limits. A key can additionally be scoped to a subset of features; calling outside the scope is feature_disabled.
Keys can carry an expiry. An expired key answers key_expired; a revoked key answers key_revoked. Both are 401.
Keep the key on your server. For anything that runs in a browser, mint a short-lived embed token instead — see Embeds & SDK.
What a refused call looks like
HTTP
error.code
Meaning
401
unauthorized
No key, a malformed key, or a key we do not recognise.
401
key_revoked
The key was revoked.
401
key_expired
The key's expiry date has passed.
403
partner_disabled
Your partner account is switched off. Every key answers this until it is switched back on.
403
feature_disabled
The endpoint needs a feature your account (or this key's scope) does not have. The message names the switch.
429
rate_limited
Too many failed authentications from your IP address — 60 per minute — and the block lasts until the window resets. A correct key from that IP is refused too, so fix the key before retrying in a loop.
Feature switches
Every endpoint in this reference names the switch it needs. The switches are set per partner by iMatch; GET /me shows yours. They are:
Switch
What it opens
listings_read
Search and read live listings.
projects_read
The project catalogue.
units_read
Unit-by-unit developer price lists: on a project (include=units) and in bulk (GET /units). Off by default.
developers_read
The developer directory (GET /developers). Off by default.
inquiries_read
Live buyer and tenant inquiries.
distress_read
The /distress feed and the discount fields on listings. Off by default.
areas_read
Areas and communities.
matches_read
Matches on your own listings and inquiries.
listings_write
Create, update, unlist and mark your listings sold.
inquiries_write
Create, update and close your inquiries.
photos_write
Attach and remove photos on your listings.
photos_replace
Replace a listing's photos with exactly the list you send (PUT …/photos). Off by default.
suggestions_write
Suggest better data for a project (POST /projects/{id}/suggestions and the /suggestions routes) — reviewed by our platform admin before anything changes. Off by default; test keys only until live suggestions open.
sales_agents_read
Developers' sales agents (GET /sales-agents, GET /sales-agents/{id}, sales_agent.updated) — names and contacts. Off by default; test keys only (contacts masked) until live sales agents open.
sales_agents_write
Send the sales agents your staff add (POST /sales-agents, /sales-agents/by-external/{external_id}) — each waits for our platform admin. Off by default; test keys only until live sales agents open.
sale_status_write
Set a project's stage (PATCH /projects/{id}/sale-status) — applied at once, no review. Off by default.
webhooks
Register endpoints and receive signed deliveries.
tools_embed
Embed the offer and poster creators.
copilot
The Copilot chat endpoint and the Copilot embed.
The /openapi.json and /postman.json documents need no key at all.
Endpoints
get/me
Who am I — verify a key and read limits + usage
any active key
Response 200
Partner, key and usage.
Response shape — placeholder values, not real data
Postman collection (v2.1) generated from this document
no key needed
Import into Postman: one folder per tag, every operation with its parameters and an example body, bearer auth at collection level. Set the apiKey collection variable to your key; baseUrl defaults to the production server.
Response 200
Postman Collection Format v2.1 JSON.
Envelope & errors
Every response has the same two shapes.
Every response is JSON and has one of exactly two shapes. There is no third.
code is stable and is what your code should branch on. message is for a human reading a log and may change wording. details is present only when there is something structured to say — validation issues, or the numbers behind a quota refusal.
Every error code
HTTP
code
When
400
validation_error
The query or body did not pass validation. details lists each issue with its path.
400
photo_fetch_failed
A photo url could not be fetched as an image. The upstream reason is deliberately not disclosed. details.failed names every failing photo: [{ index, url, reason, message }].
401
unauthorized
No key, a malformed key, or an unknown key.
401
key_revoked
This key was revoked.
401
key_expired
This key's expiry has passed.
403
partner_disabled
Your partner account is switched off.
403
feature_disabled
The endpoint needs a feature switch you do not have. The message names it.
403
no_allowed_origins
POST /embed/sessions before any allowed origin is configured for your account.
404
not_found
No such record — or a record that is not yours, for the endpoints that only see yours.
405
method_not_allowed
The verb is not supported on that path. Allow lists the ones that are.
409
limit_reached
Creating an eleventh webhook.
409
too_soon
Re-delivering a webhook delivery that succeeded less than a minute ago. Retry-After is set.
409
photos_changed
A listing's photos changed while your photo call ran. Nothing was written — send it again.
409
suggestion_decided
DELETE /suggestions/{id} on a suggestion our reviewer already decided — only a pending one can be withdrawn.
409
sales_agent_exists
POST /sales-agents named a person we already hold for that developer (the same phone or WhatsApp). details.existing_id is ours; your external_id is now linked to it.
409
sales_agent_suspended
A change to a sales agent iMatch deactivated — it cannot be undone from your side.
409
sales_agent_inactive
A change to a sales agent you deactivated (or unlinked). POST /sales-agents with the same external_id sends it again.
409
before_differs
PATCH /projects/{id}/sale-status with a before that is not our stage now. details.current is ours; nothing changed.
413
batch_too_large
More than 50 items in a write batch.
413
payload_too_large
A body or an image over its size cap (images: 15 MB).
415
unsupported_media
A photo that is not an image.
429
rate_limited
Over a per-minute budget — yours, the write budget, the Copilot budget, or the failed-auth budget. Retry-After says how long to wait.
429
quota_exceeded
Over your daily call quota.
429
reveal_quota_exceeded
This request would exceed your monthly contact-reveal ceiling. Nothing is charged; details carries quota, used, requested.
500
internal_error
Something failed on our side. The message never carries internals. Retry once; if it persists, tell us the time and the path.
Every 429 carries Retry-After (seconds) and, where a budget applies, X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. See Rate limits & quotas.
Batch writes: 200 vs 207
POST /listings and POST /inquiries accept up to 50 items and answer per item. When every item succeeded the status is 200; when some failed it is 207 and each failed item carries error (text) and error_code (stable: duplicate_external_id, constraint_violation, internal_error). The successful items in a 207 are already saved — do not resend them.
The contract is frozen
/v1 only ever gains fields. A field, an enum value or an endpoint that exists today will not be renamed or removed. Parse what you know and ignore what you don't, and an update on our side never breaks you.
Pagination & sync
Pages for reading, a cursor feed for staying in sync.
Pages
Every list endpoint takes page (1-based, default 1) and per_page (1–100, default 25) and answers with the page and its position in the whole:
Keep calling with page + 1 while has_more is true. Pages are ordered by the endpoint's default sort (usually newest update first) or by sort where the endpoint offers one; prefix a sort key with - for descending.
updated_since — the cheap way to catch up
Listings, inquiries, projects, developer units (GET /units) and developers (GET /developers) accept updated_since (ISO 8601). Pass the time of your last successful run and you get only what changed after it, paged as usual. Simple and sufficient for a nightly refresh.
Two things it cannot tell you: that a row was deleted, and — under heavy concurrent writing — a row whose updated_at landed a moment before your timestamp while its transaction was still committing. For a mirror that must be exact, use the change feed.
/changes — the exact way
GET /changes returns ids and change kinds, never full rows, ordered by (updated_at, id):
since is either an ISO date-time to start from or the next_cursor you were given last time. The cursor is opaque — store it as a string, hand it back as a string.
types is a comma-separated subset of listings, inquiries, projects, locations. Each needs its read feature (areas_read for locations); with no types you get every one of listings / inquiries / projects you may read — locations only when you ask for it.
types=units (needs units_read) returns the developer price-list units GET /units lists, on each unit's updated_at (its row changed or its price list was approved), always change: updated. A unit that stops being listed is not in this feed — the unit.updated webhook says deleted, or a full GET /units read shows it gone. 600 seconds behind.
types=developers (needs developers_read) returns developers whose updated_at moved — created, updated, or deleted once no longer listed. 600 seconds behind.
types=locations returns the places of the locations tree that changed: { id, change, at, merged_into_id }, change being created, updated or deleted (switched off, or merged into merged_into_id). It runs 600 seconds (10 min) behind real time instead of 10 seconds (below). GET /locations/changes is the same feed with each place in full — the two cursors are interchangeable.
A row you renew (see *Expiry & renew* under Listings) shows here as updated — its end date moved.
change is one of created, updated, unlisted, sold, deleted. For anything but deleted, fetch the row through the read endpoint for its fields. external_id is present on rows you created.
Up to 500 rows per type per call (limit). When has_more is true, call again with next_cursor immediately; when it is false, keep polling with the same cursor at whatever interval suits you — every minute is fine.
The cursor is strict on the (updated_at, id) pair, so nothing is skipped or repeated even while rows are being written.
The 10-second safety lag
Changes from the last 10 seconds are held back, and next_cursor never advances past now − 10 s. That guarantees a write whose transaction took a few seconds to commit is still picked up on your next call rather than falling behind your cursor forever. In practice: a change appears in the feed at least 10 seconds after it happened, never before. If you need something faster than that, subscribe to webhooks and use the feed as the safety net.
The locations tree is held back 600 seconds — 10 min (types=locations, /locations/changes): a place's change is stamped with the moment its batch started, and a batch that re-files hundreds of places can run for minutes. That is several times the longest one we have measured; the tree changes slowly, so nothing you need waits on it.
Idempotency
Apply every change as an upsert keyed on the iMatch id. Re-reading the last 10 seconds on each call means you will see the same row twice from time to time; an upsert makes that harmless.
Endpoints
get/changes
What changed since your last call (ids only)
any active key
Each requested type needs its own read feature (listings_read, inquiries_read, projects_read, areas_read for locations, units_read for units, developers_read for developers); with no types you get every one of listings / inquiries / projects you may read — locations, units and developers only when you ask for them. Rows are ordered by (updated_at, id) and the cursor is strict, so nothing is skipped or repeated under concurrent writes. Safety lag: changes from the last 10 seconds are held back and next_cursor never advances past now − 10 s, so a write that took a few seconds to commit is still picked up on your next call — expect a row to appear at least 10 seconds after it changed, never before. Pass meta.next_cursor back as since; keep polling with the same cursor when nothing changed. change is one of created / updated / unlisted / sold / deleted — fetch the row through the read API for its fields. types=locations (2026-09-26): the places of the tree, change created / updated / deleted with merged_into_id on every row, held TEN MINUTES back instead of 10 seconds (a place-writing batch can run for minutes) — GET /locations/changes is the same feed with each place in full. types=projects is also held TEN MINUTES back (2026-11-07). types=units (2026-11-08): the developer price-list units GET /units lists, on each unit's updated_at (an approval of its price list moves it), always change: updated, held TEN MINUTES back; a unit that stops being listed is told by the unit.updated webhook (deleted), not here. types=developers (2026-11-08): every developer on its updated_at, created / updated, or deleted once it is no longer listed, held TEN MINUTES back. Listings and inquiries you are not licensed to read (allowed_sources) never appear.
Parameter
In
Type
Description
since
query
string
The next_cursor from your previous call, or an ISO 8601 date-time to start from.
types
query
string
Comma-separated: listings, inquiries, projects, locations, units, developers. Default: listings, inquiries and projects you may read — locations, units and developers only when you ask for them.
limit
query
integer
Max rows per type, default and ceiling 500
Response 200
Changes per requested type.
Response shape — placeholder values, not real data
A listing is a property somebody in the network holds for sale or rent. GET /listings reads the live market as your partner account may see it; POST /listings and the by-external endpoints manage the listings you push from your own system.
Reading
Only listings that are live (live_status = "Active", not deleted) are returned. If your account is licensed for a subset of sources (allowed_sources on GET /me), only those sources appear.
Useful filters — every one is documented on the endpoint below: free text q; purpose (Sale | Rent); property_type; location by area, community, project or developer (each a contains-search on the listing's own text — project=Oasis also finds "Oasis Two"); project_id — exactly one project of Projects: only listings whose project_id is that id; bedrooms (studio, 1, 2 …, 5+); bathrooms; min_price / max_price; min_sqft / max_sqft; furnished; completion_status (Ready | Off-Plan); source; updated_since / created_since; ids (comma-separated); and external_id for one of your own.
Sort with sort=-updated_at (default), created_at, price, or discount_percent (needs distress_read). Prefix with - for descending.
The listing shape
Identity and provenance: id, reference_no, external_id (yours, on rows you created), source, created_at, updated_at. The property: purpose, property_type, category, area, community, project, developer, floor, bedrooms, bathrooms, bua_sqft, plot_sqft, view, furnished, completion_status, handover_date, vacancy, description, ai_summary, extra_details, extra_features, permit_number. Money: selling_price, rent_price, price_per_sqft, service_charges, roi_percent, rental_income, currency, payment_plan, paid_percent. State: status, live_status, date_listed, expires_after, and state — where the listing stands on the Market, in one word: live, paused (taken off before expires_after), expired (expires_after passed), sold, rented or closed. See Expiry & renew. People and media: agent (name, brokerage, phone only with include=contact, and photo_url — the broker's photo as a public https address, the picture their public page on imatch.ae shows: no key, safe for an <img>, cache it (ETag); null when the broker has no public page or no photo there, and whenever name is null; it is not a contact and costs no reveal), photos (id, kind, url, source_url, position), and the matched project — project_id and project_photo_url. Where it is: location_id — the place of the locations tree it is filed under (GET /locations/{id}; null while it is not placed) — and location: that place's id, name, level and breadcrumb (the places it sits in, the city first). With the locations_refs feature location also carries refs: the place's primary outside ids (its Bayut id, DLD ids, legacy ids). See Locations. location rides on every read and webhook; webhooks never carry refs.
Distress-only fields — distress_type, original_price, market_price, op_plus_dld, discount_amount, discount_percent, seller_urgency, total_on_transfer, already_paid, premium, dld_fee, commission, pending_payment, payment_notes — are present only when your account has distress_read. Without it those keys are absent, category reads "Normal" for every row, and on a distress listing that is not yours description, ai_summary, extra_details, extra_features and source are null (they state the deal in words). See Distress. category and every distress field are read-only: iMatch classifies a deal as distress from its own pricing evidence, and a partner cannot post one — a category sent on a write is ignored.
url — the public page for the listing (https://app.imatch.ae/listings/{id}), viewable without an iMatch login, that you can link to from your CRM.
Pictures, and whose they are
Most listings in the market carry no photo of their own. When a listing has none and we can match its project to our catalogue, that project's pictures are appended to photos with kind: "project", so a list you render straight from photos shows something. **A kind: "project" photo is the building or development the listing sits in — it is not a photo of that unit.** Say so in your UI if you show it; never present it as the property.
The rules, exactly:
A listing's own images (kindphoto, floor_plan, master_plan) always come first and are never moved or replaced.
A listing that has any image of its own gets no project photos in photos. We never pad.
A listing with none, and a project we matched, gets up to four project images — the project's main photo first.
A listing with none and no project we could match gets photos: [] and project_id: null, project_photo_url: null. We do not invent a picture.
project_photo_url (the project's main photo) and project_id are on every listing we matched, whether or not it has its own photos — so you can show a labelled building photo, or link through to the project.
Project photos have negative ids and are not yours: they cannot be deleted through DELETE /listings/{id}/photos/{photoId}.
GET /projects/{id} with the project_id gives you the development itself — full gallery, payment plan, amenities, location.
Contact details cost a reveal
agent.phone is never in a default response. Add include=contact to get it, and each listing whose phone you receive for the first time in 30 days counts as one reveal against your monthly reveal quota (if you have one — GET /me shows it). Your own listings are never charged. If a request would cross the quota it is refused whole with reveal_quota_exceeded; nothing is charged and nothing is silently missing.
Some listings never carry a contact, whatever your plan. Rows with source: "public-intelligence" were captured from public broker WhatsApp groups: the number on them belongs to another brokerage and is not ours to pass on. The listing itself is fully yours to read, search and match; only the contact is withheld, and it says so — agent.phone is null and agent.contact_withheld carries { "code": "contact_not_available_for_source", "message": "…" }. Nothing is charged for one, so they never eat your reveal quota. If the person who owns such a listing has linked their iMatch account to you, their own rows are unaffected.
Send one object or { "listings": [ … ] } with up to 50. Every item needs an external_id — your own id. The pair (you, external_id) is the identity: the first send creates, every later send updates the same row. Nothing is ever duplicated.
The response is per item: { external_id, id, reference_no, action, warnings } with action one of created, updated, noop (you sent exactly what is stored — nothing changed, nothing re-matched; a noop item also carries expires_after, see below). 200 when all succeeded, 207 when some failed; failed items carry error_code.
Where the listing goes. Best first: location_id — our place id, from Locations (search, the export, or GET /locations/resolve) — puts it exactly there. Otherwise, with the locations_refs feature, external_ref: { "source": "bayut", "id": "5003" } (or a DLD / legacy id, or the shorthand bayut_location_id) puts it in the place that outside id names. Otherwise it is placed from area, community and project, which we read as names and aliases (GET /locations/resolve shows you the answer before you push). A place given by id always wins over the text; if you send no text with it, the listing takes its place's names (area, community, building) so it reads right everywhere. warnings tells you when an id named no live place (it was ignored — the listing is placed as if you had not sent it), when our id was merged into another (store the new one), and when a text value could not be matched to our vocabulary and was stored as sent. Next to it, warning_codes gives each placement warning a stable code, in the same order — branch on these, never on the prose: location_unknown, location_merged:<new id>, location_conflict (your location_id and outside id name different places — placed by location_id), bayut_id_ignored (external_ref was sent too), external_ref_unknown_source, external_ref_unknown_id, external_ref_feature_off (placing by an outside id needs locations_refs). Other warnings have no code; warning_codes is [] when there is nothing to say.
Fields we do not have are ignored, not refused — your own bookkeeping keys can ride along. But the item's warnings names every one of them, so a typo cannot cost you a field silently: send sellingPrice and you get back ignored unknown field: sellingPrice (did you mean selling_price?) — it was not saved. The same applies to PATCH, and to sandbox writes, which report exactly what live would.
The agent: agent_name and agent_phone attach the listing to a person on your side. Give both, and give the same phone consistently; it is how your listings roll up under one agent.
A new Active listing is matched against live inquiries the moment it is saved. Matches appear on GET /matches and as match.created webhooks.
Then, per row:
PATCH /listings/by-external/{external_id} changes any subset of fields. live_status accepts Active, Unlisted, Sold; Sold also sets status to Sold. location_id / external_ref move the listing; without text in the same PATCH its area / community / project are rewritten to the new place's names.
DELETE /listings/by-external/{external_id} unlists — this is Pause: the listing leaves the Market (state: "paused"). Nothing is ever hard-deleted through the API — an unlisted row keeps its id and can be re-activated with a PATCH, or with Renew.
POST /listings/by-external/{external_id}/renew is Renew — see Expiry & renew.
Both only see rows you created through Connect; anything else is not_found.
Expiry & renew
A listing stays live for 21 days from the moment it is created or renewed (expires_after on the row says exactly when). When that passes, iMatch takes it off the market — state becomes expired, live_status becomes Unlisted and, if you subscribe, a listing.unlisted webhook fires with reason: "expiry" — because a listing nobody has confirmed in three weeks is usually gone.
iMatch never renews a listing for you. Show state and expires_after in your own system, and when the agent confirms the listing is still available, renew it:
POST https://app.imatch.ae/api/v1/listings/by-external/CRM-1001/renew
No body. A live listing gets a new end date (now + 21 days); an expired or paused one goes back on the Market with a new end date. The answer is { external_id, id, reference_no, action, state, expires_after, warnings } — action is renewed (or noop when the listing has no end date to move) and state is live. A sale + rent pair is renewed together: the rent half comes back under twin. A listing marked sold, rented or closed is refused with that code (409; send PATCH with live_status: "Active" to put it back); a sale under AED 300,000 is refused with sale_price_below_floor (422). It is the same Renew the iMatch app uses. To take a listing off the Market yourself, Pause it with DELETE /listings/by-external/{external_id}.
An identical re-send (noop) does not move expires_after (until 2026-11-24 it did); the noop item still says where it stands.
A write never brings an expired listing back. A re-POST or a PATCH of an expired listing saves your changes but leaves it expired — also when it says live_status: "Active"; only Renew puts it back on the Market. A write without live_status never changes whether a listing is on the Market: a paused listing stays paused (send live_status: "Active" — or Renew — to put a listing you paused back). In both cases the item's warnings says so, and every item carries the listing's state. A new listing is still created live when you send no live_status, and a listing held because its sale price is under AED 300,000 is still published by the re-send that fixes it. Until 2026-11-24 a bare re-POST put any unlisted listing back on the Market.
Photos
POST /listings/{id}/photos attaches up to 20 images per call, each as a public url we fetch (10 s timeout, image/* only, 15 MB max) or as base64. kind is photo, floor_plan or master_plan. Images are re-encoded to WebP. DELETE /listings/{id}/photos/{photoId} removes one. The listing must be yours. Photos can also ride along in the write batch as photos: [ … ] on each item — they are attached after the upsert. The fourth kind you may see on a read, project, is added by iMatch and cannot be posted or deleted — see Pictures, and whose they are. Attaching your first photo to a listing also stops us appending project photos to it.
Attaching is idempotent. A photo already on the listing — the same url and kind, or the same image — is not added again and is not downloaded again, so a retry, or an upsert that re-sends a listing's photos, never stacks copies. The response still has one entry per photo you sent, in your order, pointing at the existing photo where there was one; meta.added counts what was really stored and meta.skipped_duplicates what was already there.
Every photo remembers where it came from. On your own listings each photo carries source_url — the url you sent (null for base64) — and every photo carries position, its 0-based place in the listing's own photos, in display order. Together they let you check what iMatch holds without re-sending anything. source_url is shown only to the partner who owns the listing: on anyone else's listing — in search, as the other side of a match, in a webhook, in an embed — it is null, because it is often a link into your own storage. Photos attached before 2026-09-26 have source_url: null: we did not keep it until then. One PUT (below) fills it in. If you attach an image that is already on the listing under a different url, the existing photo is returned and keeps its original source_url; a PUT re-points it to the url you send.
If a photo fails, nothing is stored, and error.details.failed names every failing photo — [{ index, url, reason, message }], with reason one of fetch_failed, timeout, unsupported_media, too_large, decode_failed, invalid — so you can tell the agent which photo to fix.
Replacing a listing's photos
PUT /listings/{id}/photos — or PUT /listings/by-external/{external_id}/photos — makes the listing's photos exactly the list you send, in that order: 0 to 100 photos, and [] removes them all. It needs photos_write and photos_replace; photos_replace is off until iMatch switches it on for you, and GET /me shows it. For each photo, in order:
one already on the listing with the same url and kind is kept — not downloaded again, and it keeps its id;
otherwise we fetch it, and one already on the listing with the same image (same kind) is kept and learns your url. This is how photos attached before source_url existed get matched, and how old duplicate copies are cleared;
otherwise it is added.
Every photo the listing held that was not kept is removed. Sending a url under a new kind (a photo that is really a floor plan) removes the old one and adds a new one with a new id — it is never the same photo with its kind changed. The same url twice in one body, or two urls that turn out to be the same image, is a 400 validation_error.
It is all or nothing: every photo is fetched before anything changes, and if one fails nothing is written and error.details.failed names it. Two calls on one listing never interleave; if the photos changed while your call ran you get 409 photos_changed and nothing was written — send it again. The call is synchronous: at most 10 downloads run at once, each capped at 10 s plus a few seconds to re-encode, so 100 new photos take at most about 130 s — usually a few seconds, and repeating an unchanged set downloads nothing. Set your client timeout to 180 s. A replace is not a listing write: it does not refresh the listing's 21-day expiry and sends no webhook, like the other photo endpoints. The response is the listing's photos after the replace, each with source_url and position, and meta carries kept, added and removed. After [] the listing has no photos of its own, so a read may show kind: "project" pictures of the building again — see Pictures, and whose they are; a replace never touches those.
Endpoints
get/listings
Search live listings
requires listings_read
Most listings in the market carry no photo of their own. When one does not and we can match its project to our catalogue, that project's photos are appended to photos with kind: "project" — those are pictures of the BUILDING or development, not of this unit. project_id and project_photo_url are returned on every listing we could match, with or without its own photos, so you can label the picture honestly or link through to the project.
Parameter
In
Type
Description
as_agent
query
integer
Act as the person behind this agent link, so ownership-aware reads return THEIR rows and the Copilot is theirs. The header X-Connect-Agent is accepted instead. A link id that is not yours, was revoked, whose iMatch account was deactivated, whose brokerage is no longer yours, or that is not a plain integer → 403 agent_link_invalid. A link the person granted narrower scopes than this call needs → 403 agent_link_scope_denied.
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
q
query
string
Free text over reference, project, community, area, description
purpose
query
string
Sale | Rent
property_type
query
string
area
query
string
community
query
string
project
query
string
Contains-search on the listing's own project text (Oasis also finds Oasis Two). For one exact project use project_id
project_id
query
integer
Exact: only listings whose project_id is this /projects id — the same confident match that fills project_id on each row. Combines with every other filter; an id no listing resolves to answers an empty page
developer
query
string
bedrooms
query
string
studio | 1 | 2 | … (exact); 5+ means five or more
bathrooms
query
integer
min_price
query
number
max_price
query
number
min_sqft
query
number
max_sqft
query
number
furnished
query
string
completion_status
query
string
Ready | Off-Plan
category
query
string
Normal | Distress — only honoured with distress_read
source
query
string
updated_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
created_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
One listing object or { listings: [...] } (max 50). Re-sending the same external_id updates the row. 200 when every item succeeded, 207 when some failed.
live_status: "Sold" also sets status to Sold. live_status: "Active" puts back a listing you paused, never an expired one (Renew does that; the answer's warnings says so). Only rows you created through Connect.
This is Pause: the listing leaves the Market (state: paused until its end date passes, then expired). Renew puts it back: POST /listings/by-external/{external_id}/renew.
Parameter
In
Type
Description
external_id*
path
string
Your external id
* required
Response 200
Unlisted.
Response shape — placeholder values, not real data
No body. The same Renew as the iMatch app: a live listing gets a new end date (expires_after = now + 21 days); an expired or paused one goes back on the Market with a new end date. iMatch never renews a row for you: when expires_after passes, the row goes expired (and listing.unlisted with reason: "expiry" tells your webhook) until you renew it. Pause is DELETE on the row; Renew is the way back. Only rows you created through Connect.
Parameter
In
Type
Description
external_id*
path
string
Your external id
* required
Response 200
Renewed (or nothing to renew).
Response shape — placeholder values, not real data
403Partner disabled or feature not enabled (partner_disabled / feature_disabled).
404No listing of yours carries that id (not_found).
409Closed for good — sold, rented or closed (send PATCH with live_status: "Active" to put it back) — or it changed while renewing (changed; read it and retry).
422A sale under AED 300,000 cannot go live (sale_price_below_floor, details.fix), or the listing has no place we can match on (held_no_place).
Attach photos / floor plans to one of your listings
requires photos_write
Up to 20 per call, each a public url or base64 (image/*, ≤15 MB). Stored re-encoded as WebP. Idempotent: a photo already on the listing — the same url and kind, or the same image — is not added again and not downloaded again; the response still has one entry per photo you sent, in your order, pointing at the existing photo. meta.added counts what was really stored, meta.skipped_duplicates what was already there. A new photo keeps the url you sent as source_url; an image already on the listing under another url keeps its original source_url (use PUT to re-point it). If any photo fails, nothing is stored and error.details.failed names every one: [{ index, url, reason, message }], reason ∈ fetch_failed · timeout · unsupported_media · too_large · decode_failed · invalid.
400Invalid body, undecodable image, or a url that could not be fetched as an image (photo_fetch_failed — the upstream reason is never disclosed). error.details.failed names each failing photo.
Needs photos_writeandphotos_replace (off by default — check GET /v1/me). Makes the listing's photo set EXACTLY the list you send, in that order (0–100 photos; [] removes them all). For each photo, in order:
1. a photo already on the listing with the same urlandkind is kept — it is not downloaded again, and keeps its id;
2. otherwise the url is fetched and re-encoded, and a photo already on the listing with the same image (same kind) is kept and learns your url as its source_url — this is how photos attached before source_url existed are matched, and how old duplicate copies disappear;
3. otherwise it is added.
Every photo the listing held that was not kept is removed. A url that changes kind (photo → floor_plan) is a remove + add with a new id, never a kept photo. The same url twice in one body, or two urls that are the same image, is a 400 validation_error.
All or nothing: every photo is fetched before anything is written; if any fails, nothing changes and error.details.failed names each one (index, url, reason). Two calls on one listing never interleave. Latency: synchronous; at most 10 downloads run at once, each capped at 10 s plus a few seconds to re-encode, so the worst case is about 130 s for 100 new photos — typically seconds, and a repeat of an unchanged set downloads nothing. Set your client timeout to 180 s. Not a listing write: it does not refresh the listing's 21-day expiry and emits no webhook, exactly like POST …/photos and DELETE …/photos/{photoId}. Response meta: kept, added, removed. After [], a read of the listing may show kind: "project" photos again — those are iMatch's pictures of the building, never yours, and are not affected by a replace.
Parameter
In
Type
Description
id*
path
integer
iMatch listing id
* required
Request body
The listing's complete photo set, in display order.
Replace the photos of one of your listings, by your own external id
requires photos_replace
Needs photos_writeandphotos_replace (off by default — check GET /v1/me). Makes the listing's photo set EXACTLY the list you send, in that order (0–100 photos; [] removes them all). For each photo, in order:
1. a photo already on the listing with the same urlandkind is kept — it is not downloaded again, and keeps its id;
2. otherwise the url is fetched and re-encoded, and a photo already on the listing with the same image (same kind) is kept and learns your url as its source_url — this is how photos attached before source_url existed are matched, and how old duplicate copies disappear;
3. otherwise it is added.
Every photo the listing held that was not kept is removed. A url that changes kind (photo → floor_plan) is a remove + add with a new id, never a kept photo. The same url twice in one body, or two urls that are the same image, is a 400 validation_error.
All or nothing: every photo is fetched before anything is written; if any fails, nothing changes and error.details.failed names each one (index, url, reason). Two calls on one listing never interleave. Latency: synchronous; at most 10 downloads run at once, each capped at 10 s plus a few seconds to re-encode, so the worst case is about 130 s for 100 new photos — typically seconds, and a repeat of an unchanged set downloads nothing. Set your client timeout to 180 s. Not a listing write: it does not refresh the listing's 21-day expiry and emits no webhook, exactly like POST …/photos and DELETE …/photos/{photoId}. Response meta: kept, added, removed. After [], a read of the listing may show kind: "project" photos again — those are iMatch's pictures of the building, never yours, and are not affected by a replace.
Parameter
In
Type
Description
external_id*
path
string
Your external id
* required
Request body
The listing's complete photo set, in display order.
What buyers and tenants are looking for — read it, or post yours.
An inquiry is a requirement: what a buyer or tenant is looking for, posted by the broker who holds that client. Reading inquiries tells you what the market wants right now; posting yours gets them matched against every live listing in the network.
Reading
Only live inquiries (live_status = "Active") are returned, subject to the same allowed_sources licence as listings. Filter with q, purpose, location (matches the area wanted or the preferred communities), project, property_type, bedrooms, min_budget / max_budget, source, updated_since / created_since, ids, or external_id for one of yours. Sort by updated_at or created_at.
The shape mirrors what a broker writes down: purpose, location_wanted, preferred_communities, project_wanted, developer_wanted, property_type_wanted, bedrooms_wanted, bathrooms_wanted, min_size_sqft / max_size_sqft, budget_min / budget_max, currency, preferred_status, handover_preference, preferred_type, furnished_preference, view_preference, floor_preference, vacancy_preference, payment_plan_preference, special_requirements, ai_summary; plus id, reference_no, external_id, live_status, date_received, expires_after, state (live, paused, expired or closed — see *Expiry & renew* below), source, timestamps and agent (name, brokerage; phone only with include=contact, charged as a reveal exactly as for listings). Inquiries captured from public groups (source: "public-intelligence") never hand out a contact — agent.contact_withheld says so and nothing is charged; see Listings.
The client's own identity is never part of an inquiry. You are matching with the broker, not with their client.
One object or { "inquiries": [ … ] }, up to 50, each with your external_id. Same upsert rule as listings: the first send creates, later sends update.
The minimum is purpose and either location_wanted or project_wanted. A budget and a property type make the match far better; bedrooms_wanted accepts a single value or a range (2-3).
A new Active inquiry is matched against live listings immediately. Matches appear on GET /matches and as match.created webhooks; the owners of matching listings are alerted by iMatch as they would be for any inquiry in the network.
PATCH /inquiries/by-external/{external_id} updates; DELETE /inquiries/by-external/{external_id} closes it — this is Pause (live_status becomes Unlisted, statepaused; nothing is hard-deleted). POST /inquiries/by-external/{external_id}/renew is Renew (below). All three see only rows you created.
The response is per item, exactly as for listings (action of created, updated or noop; a noop item also carries expires_after).
Expiry & renew
An inquiry stays live for 7 days from the moment it is created or renewed (expires_after on the row). A requirement nobody has confirmed in a week is usually filled or dropped, so iMatch closes it — state becomes expired, live_status becomes Unlisted and an inquiry.unlisted webhook fires with reason: "expiry". Every inquiry read carries state: live, paused (closed before expires_after), expired or closed.
iMatch never renews an inquiry for you. When the requirement still holds, renew it: POST /inquiries/by-external/{external_id}/renew, no body. A live inquiry gets a new end date (now + 7 days); an expired or paused one is open again with a new end date. The answer is { external_id, id, reference_no, action, state, expires_after, warnings }, exactly as for Listings; a closed inquiry is refused (409 closed). An identical re-send (noop) does not move expires_after (until 2026-11-24 it did).
A write never brings an expired inquiry back. A re-POST or a PATCH of an expired inquiry saves your changes but leaves it expired — also with live_status: "Active"; only Renew re-opens it. A write without live_status never re-opens a paused inquiry either (send live_status: "Active", or Renew). The item's warnings says so, and every item carries state. Until 2026-11-24 a bare re-POST re-opened any unlisted inquiry.
Fields we do not have are ignored rather than refused, and the item's warnings names each one (ignored unknown field: budgetMax (did you mean budget_max?) — it was not saved) — see Listings.
Endpoints
get/inquiries
Search live buyer inquiries
requires inquiries_read
Parameter
In
Type
Description
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
q
query
string
Free text over reference, location, project, requirements
purpose
query
string
location
query
string
Matches location_wanted / preferred_communities
project
query
string
property_type
query
string
bedrooms
query
string
min_budget
query
number
max_budget
query
number
updated_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
created_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
Create or update inquiries (upsert on external_id)
requires inquiries_write
One inquiry or { inquiries: [...] } (max 50). Needs purpose and location_wanted or project_wanted. A new Active inquiry is matched against live listings automatically.
This is Pause: the inquiry leaves the Market (state: paused until its end date passes, then expired). Renew puts it back: POST /inquiries/by-external/{external_id}/renew.
Parameter
In
Type
Description
external_id*
path
string
Your external id
* required
Response 200
Unlisted.
Response shape — placeholder values, not real data
No body. The same Renew as the iMatch app: a live inquiry gets a new end date (expires_after = now + 7 days); an expired or paused one goes back on the Market with a new end date. iMatch never renews a row for you: when expires_after passes, the row goes expired (and inquiry.unlisted with reason: "expiry" tells your webhook) until you renew it. Pause is DELETE on the row; Renew is the way back. Only rows you created through Connect.
Parameter
In
Type
Description
external_id*
path
string
Your external id
* required
Response 200
Renewed (or nothing to renew).
Response shape — placeholder values, not real data
403Partner disabled or feature not enabled (partner_disabled / feature_disabled).
404No inquiry of yours carries that id (not_found).
409Closed for good — sold, rented or closed (send PATCH with live_status: "Active" to put it back) — or it changed while renewing (changed; read it and retry).
422The inquiry has no place we can match on (held_no_place).
The developer catalogue, with plans, payment terms and unit lists.
The project catalogue is iMatch's directory of developments across Dubai and the wider UAE — the same catalogue behind imatch.ae/projects/directory — with developer, location, status, price floor, amenities, payment plan, photos, floor plans, master plans and documents.
Listing projects
GET /projects pages through the live catalogue. Filter by q (search text, below), developer, area, district, project_type, property_type, status, sale_status, completion_status, min_price / max_price, and updated_since. Sort by relevance (the default when q is given), name (the default without q), min_price or expected_completion_date; name, min_price and expected_completion_date take a - prefix for descending.
Searching — q and sort=relevance
For a search box or a type-ahead, send q and leave sort out (or send sort=relevance): the best match comes first.
What matches.q is split into words. Every word must appear in the project's name, one of its aliases, its district, its area or its developer — so hartland finds the projects of Sobha Hartland, and sobha hartland crest finds The Crest. Case and punctuation do not matter. A q with no letters or digits matches nothing.
What comes first. The name is compared with q (a leading "The" ignored on both sides): the name or an alias equal to q first, then names that start with q, then names with a word that starts with q, then names that contain q, then projects found only through an alias, the place or the developer. When q mixes a place or developer with a name (sobha hartland crest), the place and developer words are set aside and the rest (crest) is compared with the name the same way. Ties go by name.
q with any other sort works as it always has: projects whose name or an alias contains q, in that order. For a one-word q, relevance returns those same projects plus the ones whose place or developer carries the word.
GET /v1/projects?q=crest&per_page=8
Withdrawn projects are not in the feed.
One project
GET /projects/{id} returns the full record: identity (id, name, slug, aliases), url (the public project page on imatch.ae — the link to show in your CRM), developer, developer_id (the developer's id in GET /developers, or null when the name is not in the directory) and developer_logo_url, area ({ id, name }), district, project_type, property_type, status, sale_status, completion_status, expected_completion_date, construction_progress_pct, post_handover, ownership_type, furnishing, has_escrow, service_charge, min_price_aed, max_floor, available_units, latitude / longitude, description, amenities, payment_plan (with stages and has_post_handover), travel_times, parking_plan, inventories_raw, the catalogue extras unit_types, construction_start_date / construction_end_date (YYYY-MM-DD), launch_date, total_area, is_branded_project, video_links ([{ title, video_url }]), nearby_points_of_interest and deposit_percent (each null when we hold none), created_at / updated_at, and media as public URLs: photo_url, gallery, floor_plans, masterplan, documents ({ name, url }).
updated_at is when anything about the project last changed — any field, file or flag, whoever changed it. GET /projects?updated_since=, GET /changes?types=projects and the project.updated webhook all ride on it.
Prices — ours first, then the developer's price list
min_price_aed (the starting price, "price from") and the presentation section's price_per_sqft_min_aed / price_per_sqft_max_aed are iMatch's own figures whenever we hold them. When we hold none, they come from the developer's own price-list units we serve for that project — the same units GET /units?project_id= lists. Two keys say which: min_price_source and presentation.price_per_sqft_source, each ours, inventory or null (no figure at all).
Ours always wins. The per-square-foot pair is ours whenever either of the two is set (it is never mixed with price-list figures); the starting price is ours whenever it is set.
From the price list: the lowest price of a served unit, and the lowest and highest AED per square foot (each unit's price ÷ its size, kept only between 300 and 20,000), whole AED. When a project also lists offices or shops, only its homes count.
Always current. The figures are recomputed whenever those units change — a price edit, a newer price list approved or withdrawn, a unit retired or linked to another project. When that changes the record you hold, project.updated arrives at once, like any other change; changed_fields names presentation and may not name min_price_aed (it is a hint — apply the whole record). A change that leaves your record as it is (a unit count, a shop's price, a figure behind one of ours) sends nothing.
The min_price / max_price filters and the min_price sort read our own starting price only.
Staying in sync — the project.updated webhook
To keep a full copy of the catalogue without polling: read it once (GET /projects, every page), then subscribe a webhook to project.updated (needs webhooks and projects_read). The moment a project changes you receive it — ONE delivery per change, carrying the WHOLE record, exactly as GET /projects/{id} returns it (without units), every file a link, never the bytes:
A project that is no longer public arrives as { "id": 2041, "change": "deleted", "changed_fields": [], "project": null, "cursor": "…" }.
created / updated — replace your copy by id with project. deleted — the project is gone, or no longer public on iMatch (retired, or no longer complete enough to list): remove it. A project that comes back after a deleted arrives as updated with its record: restore it by id.
changed_fields names what moved, in the fields above (empty for deleted, and when a project is re-sent without a field change). It is a hint, not a full diff — when several edits land in one save it may name only some of them — but the record is always whole, so one missed message can never leave a field wrong.
One change is one delivery, sent at once — also when many projects change together (each is its own delivery).
Deliveries are at-least-once and not guaranteed in order: dedupe on the envelope id, and keep a record only if its updated_at is not older than the one you hold. A record's updated_at only ever moves forward (since 2026-11-16 also when two of our writers change one record at the same moment).
A change to a project's aliases or to its area's name reaches you as project.updated too (since 2026-11-16); changed_fields may then name presentation — it is a hint, apply the whole record.
cursor is a /changes?types=projects cursor: if your endpoint was ever down past our retries, resume with GET /changes?types=projects&since=<cursor of the last delivery you processed> and fetch those ids. The projects feed settles 600 seconds behind, so the cursor sits up to 600 seconds before the project and a resume repeats a few you already hold.
Setting a project's stage — PATCH /projects/{id}/sale-status
Needs the sale_status_write switch (off by default). Your staff set a project's stage in your own admin, and it applies to iMatch at once — there is no review by us. It is the only project field you can change directly; everything else goes through Suggestions.
**sale_status** — the new stage, in our words: announced (upcoming launch), presale (EOI), start_of_sales, on_sale, out_of_stock (sold out). A project with no stage reads null; you cannot clear one (null is a 400).
**before** (optional) — compare-and-swap: the stage you believe we hold (null = none). If it is not ours now the answer is 409 before_differs with our value in details.current, and nothing changes. Leave it out to set the stage whatever it is.
**client_ref** — your id for this change (1–64 letters, digits, ., _, :, -): the idempotency key. Sending the same client_ref again answers 200 with the stored change and meta.replayed: true (a different body adds the warning client_ref_reused; the stored change stands). Use a new client_ref for each new change.
**changed_by** — who made the change on your side: ref (your opaque id for the person, required), name (optional) and role (your own role word, optional, e.g. super_admin, staff_admin). We keep it in our change log and our audit log (our admins read them), and the change we answer with (and any replay of the same client_ref) carries it back to you; it is never sent to another partner and never appears in a project record, the change feed or a webhook. We trust your key, not the role: deciding which of your staff may change a stage is yours.
The answer is the change: { id, client_ref, project_id, sale_status, previous, changed, changed_by, created_at, project_updated_at }. changed: false means the project already had that stage — nothing was written and no push follows.
What comes back. A change sends the normal project.updated (above) to every endpoint subscribed to it — yours included — with the whole record and changed_fields: ["sale_status"]; its project.updated_at equals the project_updated_at of the answer. Apply it like any other project update.
Who else can change it. A stage you set is kept from our automated writers (research, catalogue imports). Our admin can still change it on the project page; that change reaches you as a project.updated too. The 30-writes-per-minute limit applies (see Rate limits).
Test keys. The same answers against the real project, overlaid with the stages that test key set in the last 24 hours (negative ids). Nothing is written to iMatch; a change sends project.updated — the real record with your stage — to your test webhooks only.
Developer unit lists
Add ?include=units to get the developer's current unit-by-unit price list for the project — unit_ref, unit_no, building, floor, unit_type, bedrooms, bathrooms, sizes, view, orientation, parking, price_aed, price_per_sqft, payment_plan_raw, availability, handover_date, completion_status, updated_at. This needs the units_read feature, which is off by default; without it the call answers feature_disabled and the rest of the project is not returned either — drop include=units to read the project itself.
Only units a person at iMatch has checked are listed: the developer's price list was approved, the unit is still current, the reviewer did not exclude it and no review flag on it is open. Until a project has such units its list is empty.
A unit that stops appearing in the developer's newer price lists is simply no longer offered; it is never reported as sold unless the developer's own file says so.
All developer units — GET /units
The same units, across every project, paged: each row is the unit fields above plus id (this version of the unit), project_id (a /projects id) and developer_id (a /developers id, when known). Same rule — approved, current, not excluded, no open review flag, linked to a live project — and never a listing or an inquiry. Needs units_read.
project_id= narrows to one project; updated_since= returns units whose row changed, or whose price list was approved, at or after that time — the unit's updated_at.
A newer price list gives a unit a new id; its unit_ref carries over when the unit has a unit number, so key your copy on unit_ref.
A unit that stops qualifying (a newer list replaces it, the reviewer excludes it, the approval is withdrawn) simply stops being listed in GET /units. The unit.updated webhook below tells you the moment that happens (deleted); without it, run a full read now and then (no updated_since) and drop what is no longer there.
GET /v1/units?updated_since=2026-10-30T00:00:00Z&per_page=100
Staying in sync — the unit.updated webhook
Read the units once (GET /units, every page), then subscribe a webhook to unit.updated (needs webhooks and units_read). From then on every change reaches you at once — ONE delivery per unit, carrying the WHOLE unit exactly as one row of GET /units returns it:
Which units. Exactly the ones GET /units lists: the developer's price list was approved by a person at iMatch, the unit is current, not excluded, has no open review flag, and sits on a live project. Units still being read from a new price list never reach you — not even as deleted.
created / updated — replace your copy by id with unit. A unit also arrives as updated when it STARTS being listed: when its price list is approved you receive one delivery per unit on it (a 200-unit list is 200 deliveries).
deleted (unit: null) — it is no longer listed: its price list was withdrawn or replaced by a newer one, the reviewer excluded or flagged it, it lost its project, or it is gone. Remove it. A deleted for an id you never held is a no-op — just acknowledge it.
A unit on a project that stops being public stops being listed too, and since 2026-11-16 it is announced unit by unit: one deleted per unit, beside the project's own project.updated (deleted); when the project becomes public again, each of its units arrives as updated. A project removed for good sends a deleted for each unit it listed.
A newer price list gives a unit a new id (the old version arrives as deleted, the new one as updated); unit_ref carries over when the unit has a unit number.
changed_fields is a hint in the unit's own field names (empty for deleted, for a unit that started being listed, and for a re-send); the record is always whole. Deliveries are at-least-once and not guaranteed in order: dedupe on the envelope id, and keep a record only if its updated_at is not older than the one you hold.
cursor is a /changes?types=units cursor (the units feed settles 600 seconds behind, like projects): after an outage longer than our retries, resume with GET /changes?types=units&since=<cursor of the last delivery you processed>.
Developers — GET /developers
The developer directory, ordered by id, needs developers_read (off by default). Each developer carries:
id — the developer_id you see on /projects and /units rows;
name — exactly as iMatch shows it, and aliases — other spellings we recognise;
dld_developer_number and dld_developer_numbers — the Dubai Land Department number we hold, and every one we hold (a developer can trade through several registered entities);
headquarters;
logo_url — the logo most of its projects carry, the one iMatch shows on the developer's profile;
project_ids and projects_count — its live projects, the same ids GET /projects returns;
its profile: about (a short description), website, founded_year, address, phone (as in the Dubai Land Department register), email, social_links ({ instagram, linkedin, facebook, x, youtube, tiktok }, each a URL or null; the whole object is null when we hold none), name_ar (the Arabic name registered with the Land Department), dld_registered_on (YYYY-MM-DD) and profile_updated_at (when the profile last changed);
updated_at — when anything about the developer's own record last changed: its directory entry (name, aliases, head office, Land Department numbers, Arabic name) or its profile.
Anything we do not hold is null (or an empty list) — a developer with no profile has every profile field null. A project's developer name that is not in the directory gives that project developer_id: null — the project is still in /projects, it just belongs to no developer here. With a test key, phone and email are masked like every sandbox contact.
updated_since returns developers whose updated_at is at or after that time — a change to the directory entry or the profile. A profile that was re-saved without a real change can come back too — treat the rows as "check these", not "these differ". logo_url and project_ids come from the projects catalogue and do not move it: a project joining or leaving a developer's list arrives as developer.updated (below) with the same updated_at. You can also build each developer's project list yourself from developer_id on your projects (GET /projects + project.updated): it is always current. GET /developers/{id} returns one.
GET /v1/developers?updated_since=2026-11-01T00:00:00Z&per_page=100
Staying in sync — the developer.updated webhook
Read the directory once (GET /developers, about eight pages of 100), then subscribe a webhook to developer.updated (needs webhooks and developers_read). Every change to a developer's directory entry or profile reaches you at once — ONE delivery per change, carrying the WHOLE developer exactly as GET /developers/{id} returns it: data is { id, change, changed_fields, developer, cursor }.
created / updated — replace your copy by id with developer. deleted (developer: null) — the developer is no longer listed (deactivated, or gone): remove it. One that comes back arrives as updated.
changed_fields is a hint in the record's field names; a profile change also names profile_updated_at. Deliveries are at-least-once: dedupe on the envelope id; keep a record only if its updated_at is not older than yours.
A project change that moves a developer's record — a project joining or leaving its live list, moving to another developer, or changing the logo the developer shows — also sends developer.updated for the developer it left and the one it joined, at once (changed_fields names project_ids, projects_count and/or logo_url). The developer's own updated_at does not move for these (it is the clock of its directory entry and profile), so apply a record whose updated_at EQUALS yours — the rule below already does. We send it only when the record differs from the last one we sent you. Building the lists from developer_id on your projects stays the simplest way to have them exact at every moment.
cursor is a /changes?types=developers cursor (600 seconds behind) to resume from after an outage.
Endpoints
get/projects
Dubai projects feed
requires projects_read
Parameter
In
Type
Description
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
q
query
string
Search text. With sort=relevance (the default when q is given) every word must appear in the name, an alias, the district, the area or the developer, best match first. With any other sort: name or alias contains q.
developer
query
string
area
query
string
district
query
string
project_type
query
string
property_type
query
string
status
query
string
sale_status
query
string
completion_status
query
string
min_price
query
number
max_price
query
number
updated_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
relevance (default when q is given; without q it lists by name) or name (default without q), min_price, expected_completion_date; prefix - for descending
Response 200
Projects page.
Response shape — placeholder values, not real data
include=units adds the developer's current unit list and requires the units_read feature. Only units from a price list a person at iMatch approved, still current, with no open review flag, are listed — the same rule as GET /units.
Parameter
In
Type
Description
id*
path
integer
Project id
include
query
string
units
* required
Response 200
Project with optional units.
Response shape — placeholder values, not real data
Your staff set a project's stage; it applies AT ONCE — no review by us — and comes back to you like every other change: a project.updated push with the whole record and changed_fields: ["sale_status"] (the same delivery any change to the project sends). Our words only: announced (upcoming launch), presale (EOI), start_of_sales, on_sale, out_of_stock (sold out). A stage cannot be cleared from outside (null is a 400). before is an optional compare-and-swap: when sent and not our stage now, 409 before_differs with ours in details.current, nothing changed. client_ref is your idempotency key: the same client_ref again answers 200 with the STORED change and meta.replayed: true (a different body adds client_ref_reused; the stored one stands). changed: false = the project already had that stage: nothing was written and no push follows. A stage you set is then kept from our automated writers (research, catalogue imports) until our admin changes it on the project page — that change reaches you as a project.updated too. changed_by names your person (your opaque ref, optionally name and your role word): we keep it in our change log and our audit log (read by our admins), and the change we answer with (and any replay of the same client_ref) carries it back to you. It is never sent to another partner and never appears in a project record, the change feed or a webhook. Writes count against the 30-per-minute write limit. Test keys (sandbox): the same answers against the real project overlaid with the stages that test key set (24 h, negative ids); nothing is written to iMatch, and a change sends project.updated (the real record with your stage) to your TEST webhooks only.
{
"type": "object",
"properties": {
"client_ref": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]{1,64}$",
"description": "YOUR id for this change — the idempotency key: the same client_ref again answers 200 with the stored change (`meta.replayed: true`)"
},
"sale_status": {
"type": "string",
"enum": [
"on_sale",
"out_of_stock",
"presale",
"announced",
"start_of_sales"
],
"description": "The new stage, in OUR words: `announced` (upcoming launch) · `presale` (EOI) · `start_of_sales` · `on_sale` · `out_of_stock` (sold out). Null is refused: a stage cannot be cleared from outside"
},
"before": {
"description": "Optional compare-and-swap: the stage you believe we hold now (null = none). When sent and not ours, the call is refused 409 `before_differs` with our value in `details.current` and nothing changes. Leave it out to set the stage whatever it is",
"anyOf": [
{
"type": "string",
"enum": [
"on_sale",
"out_of_stock",
"presale",
"announced",
"start_of_sales"
]
},
{
"type": "null"
}
]
},
"changed_by": {
"type": "object",
"properties": {
"ref": {
"type": "string",
"pattern": "^[A-Za-z0-9._:-]{1,64}$",
"description": "Your opaque id for the person who made the change — never a name, phone or email"
},
"name": {
"description": "The person's name (1–120 characters): kept in our change log and audit log for our admins, and echoed back to you in the change record (this answer and replays). Never sent to another partner or in a project record, the change feed or a webhook",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 120,
"pattern": "^[^\\p{Cc}]+$"
},
{
"type": "null"
}
]
},
"role": {
"description": "YOUR role word for the person (e.g. `super_admin`, `staff_admin`) — a label for our log, never a permission",
"anyOf": [
{
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
{
"type": "null"
}
]
}
},
"required": [
"ref"
],
"additionalProperties": false
}
},
"required": [
"client_ref",
"sale_status",
"changed_by"
],
"additionalProperties": false
}
Response 200
The change (or, for a replayed client_ref, the stored change with meta.replayed: true).
Response shape — placeholder values, not real data
503Test key only: the sandbox store is unavailable (sandbox_unavailable) — nothing was kept; retry.
get/units
Developer price-list units, in bulk
requires units_read
Every unit from the developers' own price lists that iMatch serves, across all projects — never a listing, never an inquiry. A unit is listed only when a person at iMatch approved its price list, it is still current, the reviewer did not exclude it, no review flag on it is open, and it is linked to a live project (project_id is a /projects id). updated_since returns units whose row changed or whose price list was approved at or after that time (the unit's updated_at). A unit that stops qualifying — a newer list replaces it, the reviewer excludes it, the approval is withdrawn — simply stops being listed; nothing marks it removed, so reconcile with a periodic full read. Ordered by id.
Parameter
In
Type
Description
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
project_id
query
integer
Only the units of this project (a /projects id)
updated_since
query
string
Units whose row changed, or whose price list was approved, at or after this time (the unit's updated_at)
Response 200
Units page.
Response shape — placeholder values, not real data
Every developer in iMatch's directory: id (the developer_id on /projects and /units rows), the name as iMatch shows it, aliases, Dubai Land Department numbers, head office, logo and the ids of its live projects — and its profile: about, website, founded_year, address, phone, email, social_links, name_ar, dld_registered_on, profile_updated_at. Fields iMatch does not hold are null. Ordered by id. updated_since returns developers whose profile changed (a re-save without a real change counts too), or who joined the directory, at or after that time; edits to the name, aliases, head office, DLD numbers, Arabic name, logo or project list do not move it, so read the whole directory (about 700 developers) now and then too. A test key gets phone and email masked.
Parameter
In
Type
Description
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
updated_since
query
string
Developers whose record changed at or after this time — the directory entry, its Land Department numbers or the profile (the record's updated_at)
Response 200
Developers page.
Response shape — placeholder values, not real data
Better data for a project, from your users — reviewed by a person before anything changes.
A suggestion is better data for one of our projects that your users found: a corrected map pin, travel times, a new photo, a floor plan, a masterplan or location map, the developer's brochure, and (since contract_version 3) the prices and payment plans. You send each one as soon as it is made; our platform admin reviews it, and nothing is applied without that person. You hear the outcome on suggestion.updated and GET /suggestions/{id}, and the applied data arrives the normal way: project.updated.
Needs the suggestions_write switch, which is off by default. A key that can read projects cannot suggest: a dedicated key scoped to suggestions_write is the way to send them.
Live, partner by partner: a live key whose partner we switched on stores real suggestions for our reviewer; every route answers exactly as the sandbox taught you. Until we switch your partner on, a live key gets 403 feature_disabled (the allowlist excepted). Test keys (imc_test_…) keep the sandbox, unchanged.
What happens to a live suggestion. The 201 is the stored record, every item pending and every file fetch_state: queued. We then fetch each file exactly as declared — the same size and sha256, or the item becomes failed with size_mismatch, sha256_mismatch, file_unavailable, type_not_allowed, file_truncated or image_undecodable — into private storage, where nobody outside our review team can see it. A person on our side looks at every file full size and every field before and after, and applies or rejects each item on its own with a reason from the list below. Applied data reaches you as a normal project.updated; each step reaches you as suggestion.updated. A brochure replace takes out the brochures we hold except any our reviewer decides to keep — removed_ids names exactly the ones that left. Our reviewer may also file an image under another of our types in the same list (an interior that is really a lobby); the applied entry on project.updated then carries our type, and your item keeps the type you sent.
contract_version 2 (2026-11-13) — files. Floor plans (floor_plan_items), a floor-plan PDF (documents type Floor Plan), a new brochure that replaces ours (action: "replace"), where each image came from (extracted_from, page) and where you would put it (order), up to 100 files per suggestion, and the role partner_admin for your own staff. Everything version 1 accepted is still accepted, unchanged; the record only gains properties. See Brochure extraction below.
contract_version 3 (2026-11-14) — prices. Five field keys, in the names GET /projects serves: min_price_aed, presentation.price_on_request, presentation.price_per_sqft_min_aed, presentation.price_per_sqft_max_aed and payment_plans. Two pairs are decided together, and a payment-plan list replaces ours only while ours still equals your before. Everything versions 1 and 2 accepted is still accepted, unchanged. See Prices and payment plans below.
Send one
POST /projects/{project_id}/suggestions, one suggestion per call, body at most 1 MB:
**client_ref** is your id for the suggestion and the idempotency key. Send the same client_ref again and you get 200 with the stored suggestion as it stands now and meta.replayed: true — never a second suggestion. If the body differs, the stored one still stands and meta.warnings says client_ref_reused. A new suggestion answers 201.
**requested_by**: role is broker, developer_sales_agent or (since contract_version 2) partner_admin — a staff admin of your own company; ref is your opaque id for the person; developer_id (a /developers id) is required for a developer_sales_agent and refused for a broker or a partner_admin. No names, phones or emails anywhere — every id is 1–64 letters, digits, ., _, : or -. The role is a label for our reviewer, not a permission: who may press the button is yours to decide.
**partner_approved_by / partner_approved_at** are optional and normally null: both or neither. A partner_admin needs neither — the submitter already is your admin.
**note** is for our reviewer and never published, at most 1,000 characters. Phone numbers, emails, links, WhatsApp mentions and @handles in it become [removed], and meta.warnings says note_contact_removed. The record gives it back to you (and only you) as stored.
At least one field item or one file; at most 100 files. Over 20 files, their declared sizes may add up to at most 500 MB (send a bigger extraction as two suggestions). The same file (sha256) twice in one list is accepted with a same_file_twice warning in meta.warnings — send each file once.
What you may suggest
GET /suggestions/allowlist returns all of this as data, with the contract_version and the version each entry arrived in (since, types_since, roles_since, vocabulary_since, and file_properties). Read it rather than hard-coding.
Fields — each { key, before, after }. before is our value as you last received it (null when we had none); if ours has changed since, the suggestion is still accepted and that item carries the warning before_differs. Contract version 2 adds no field: it is files only. Contract version 3 adds the prices (the last five rows).
key
after
latitude
A number inside 22…27. Send it with longitude: they are decided together.
longitude
A number inside 51…57. Send it with latitude.
travel_times
1–30 entries { to, minutes }: to 1–80 characters of plain text, minutes a whole number 1–600. Replaces the whole list.
min_price_aed (v3)
The starting price: a whole number of AED, 1 … 10,000,000,000. Decided together with presentation.price_on_request when both are sent.
presentation.price_on_request (v3)
true or false. Decided together with min_price_aed when both are sent.
presentation.price_per_sqft_min_aed (v3)
AED per square foot, above 0 (at least 1, at most 1,000,000). Decided together with …_max_aed; with both in one suggestion, max ≥ min.
presentation.price_per_sqft_max_aed (v3)
As above; ≥ …_min_aed when both are sent.
payment_plans (v3)
The whole list of plans, in the shape GET /projects serves: 1–20 plans { id?, name?, has_post_handover?, stages }. Replaces ours — but only while ours still equals your before (see below).
Files — each { ref, list, type, url, mime, size, sha256, name?, replaces?, extracted_from?, page?, order? }. We fetch the link later; the bytes never travel in the body.
list
type
file
at most
gallery_items
exterior, interior, lobby
JPEG, PNG, WebP or AVIF
15 MB
masterplan_items
masterplan, general_plan (the location map)
JPEG, PNG, WebP or AVIF
15 MB
documents
Brochure; since v2 Floor Plan (a floor-plan book)
PDF
60 MB
floor_plan_items (since v2)
none — the list is its kind
JPEG, PNG, WebP or AVIF
15 MB
ref is your id for the file, unique within the suggestion (and not a field key name).
url is https on app.ipresent.ae only, at most 2,048 characters, answering 200 with the bytes directly (a redirect is a failure) and valid for at least 24 hours. (A test key may link elsewhere — see In the sandbox.)
size is the exact byte count and sha256 64 lowercase hex characters; both must match what we download. A declared mime or size outside the table is refused at once.
name is for documents only: the document's public name, 1–120 characters of plain text with no contact details or links — the type (Brochure, Floor Plan) when you send none.
replaces may name the id of one of our existing items (the id in gallery_items[], masterplan_items[], floor_plan_items[] or documents[]) — a hint for our reviewer; nothing is removed because of it.
Since v2, on any file:extracted_from — where it came from: our documents[].id (a brochure we serve), or the ref of a documents item in this suggestion (a new brochure); page — that brochure's page (1 first); order — where you would place it in the list (0 first). All three are hints for our reviewer and are echoed on the record.
A floor plan (floor_plan_items, since v2) carries no type. It carries unit_type — the plan's label exactly as it should read, 1–120 characters of plain text ("2 BR Type A", "Apartment"), which is the word we store and serve back as floor_plan_items[].unit_type — and optionally bedrooms (0–20 in steps of 0.5: 0 is a studio, .5 is plus a study; null or absent when unknown — never -1) and size_sqft (> 0, at most 100,000; null or absent when unknown). There is no separate title: put the label in unit_type. A floor plan here is an image; a PDF book of plans is a documents item of type Floor Plan.
**action** (documents, since v2): add (the default) puts the document beside ours; replace — a Brochure only, at most one per suggestion — makes it THE brochure on approval (see below).
Not accepted: covers and the hero photo, captions, a floor-plan title, any other list or type.
Prices and payment plans
Since contract_version 3. Each key is the name GET /projects serves it under — presentation.* is the presentation object — and before is that value exactly as you received it.
Decided together.min_price_aed with presentation.price_on_request, and presentation.price_per_sqft_min_aed with presentation.price_per_sqft_max_aed, are pairs, like latitude and longitude: when both of a pair are in one suggestion, our reviewer applies or rejects them as one decision, and you see both items move together. Unlike the coordinates, each may also be sent alone.
Payment plans: the safety rule.
after is the whole list in the served shape. A plan with an id is that plan of ours: your values replace ours; the id keeps what we store beside the plan (its source id, and our stored record of each stage you did not change, or changed only in name or type). After an edit, a name- or stage-derived id may change. The id must be one of the payment_plans[].id in your before (anything else is a 400); a plan without one is new. Every plan has 1–60 stages, each { name?, percentage, stage_type? } with percentage above 0 and at most 100, stage_type one of on_booking, during_construction, on_handover, post_handover (or null), and each plan's percentages add up to 100. Names are plain text, at most 120 characters, no contact details or links.
If our list is not your before when you send it, the item carries before_differs, as every field does.
**It is applied only while our list still equals your before** — so only an item without before_differs whose before is still our list when our reviewer decides. Otherwise our reviewer can only reject it (not_accurate); read GET /projects/{id} and send a new suggestion from our current list. Starting from an empty before ([] or null) therefore never replaces plans we hold, and after always holds at least one plan, so a list is never emptied.
The plans we store keep everything we hold that you did not change. The applied list reaches you on project.updated as payment_plans; a new plan gets its id there.
Applied prices are locked against our own imports, like every applied suggestion.
Brochure extraction
Your staff open a brochure, pick images and file each one. Send one suggestion per extraction, usually as a partner_admin; each item is decided on its own.
From a brochure we already serve: only the image items, each with its list and type (or a floor plan's fields), extracted_from = that brochure's documents[].id and the page. Our brochure is untouched.
A new brochure plus its images: one documents item, type Brochure, action: "replace", and the images with extracted_from = that item's ref. On approval the new brochure goes first in documents[] and every brochure we hold leaves the list — the applied item's removed_ids names them (the next project.updated no longer carries them). Our other documents (floor-plan books, factsheets) stay.
Mixed decisions: images approved and the new brochure rejected → the images are added and our current brochure stays; the brochure approved and images rejected → the replace happens. Some of each is applied; every item rejected is rejected.
Strict, on purpose
A listing write turns an unknown key into a warning. This route does not: a suggestion is read by a person, and a key we silently dropped would mislead them. **Any key we do not know, anywhere in the body, or a key, list or type outside the allowlist, is 400 validation_error, and nothing is stored.** Each entry of error.details keeps the validator's code, path and message and adds at (the path as text, e.g. files[1].type) and, where it applies, allowed:
Field items come first, named by their key; then files, by your ref; each in the order you sent them. Since v2 every file item also carries action, extracted_from, page, order, a floor plan's unit_type / bedrooms / size_sqft (null on other lists; a floor plan's type is null), and duplicate_of, similar_to, removed_ids (filled by review).
**note**: your note exactly as our reviewer reads it — phone numbers, emails, links, WhatsApp mentions and @handles already [removed]; null when you sent none. It is returned only to you, never published.
**status**: pending → approved (decided, the apply is under way) → applied; or rejected; or withdrawn (by you, only while pending). Some items applied and some rejected is applied; every item rejected or failed is rejected.
**Item status**: pending, applied, rejected or failed. latitude and longitude are always decided together; since v3 so are min_price_aed + presentation.price_on_request and the two presentation.price_per_sqft_*_aed items, when both of a pair are in the suggestion.
**fetch_state** (files): queued, fetched or failed.
**reason**: a fetch failure — file_unavailable, size_mismatch, sha256_mismatch, type_not_allowed, file_truncated, image_undecodable — or our reviewer's — not_accurate, low_quality, watermark_or_third_party_mark, wrong_project, duplicate, contains_personal_data, superseded, other, and since v2 wrong_category (an image filed in the wrong list or type). Our internal review notes are never returned.
**warnings**: before_differs; sandbox_file_not_fetched; and since v2, once we hold the bytes: duplicate_of_existing — the same bytes as one of our items in another list or type (duplicate_of names it; our reviewer may re-file ours instead of adding a copy); similar_to_existing — it looks like one of ours in the same list (similar_to names them; never an automatic reject); replaces_larger_file — a replacing brochure smaller than the one it replaces.
**duplicate_of**: one of our item ids. With reason duplicate, the same bytes are already in that list as that type — rejected by the system.
**applied_id**: the storage id an applied file got — the id you will see in gallery_items[], masterplan_items[], floor_plan_items[] or documents[] on the next project.updated. When our reviewer re-filed one of OUR items instead (a duplicate in another list or type), it is that existing id.
**removed_ids**: an applied brochure replace — the documents[].ids that left the list.
**project_updated_at**: the project's updated_at right after the apply.
Read, list, withdraw
GET /suggestions/{id} — one of yours, as it stands now. Another partner's id, or one you do not hold, is 404 not_found — never 403.
GET /suggestions?status=&updated_since=&page=&per_page= — yours, newest change first, at most 100 a page. status takes a comma-separated list.
DELETE /suggestions/{id} — withdraw one that is still pending. Already withdrawn answers 200 with it as it stands and meta.replayed: true, so a retry is safe; one our reviewer decided answers 409 suggestion_decided. A suggestion stays pending while our reviewer decides its items one by one; once any item is decided it can no longer be withdrawn (also 409 suggestion_decided).
Staying in sync
**suggestion.updated** — every change to a suggestion (its status, an item's status, a file's fetch state or a reason, a withdrawal) is pushed to your webhooks that list it or *: data is { id, change: "updated", changed_fields, suggestion }, the whole record as GET /suggestions/{id} returns it. It is not sent on creation — the 201 is the record. Subscribe to it explicitly or with *; it needs webhooks and suggestions_write. One we could not send at the time of the change is re-sent within minutes (since 2026-11-16); its changed_fields may then name all three parts.
**project.updated** carries the applied data, whole, as for every other project change. Correlate with project_updated_at and applied_id; there is no suggestion id on it.
The backstop: on your nightly run, call GET /suggestions?updated_since=<your last sync − 2 h>. If a record's project_updated_at is newer than your copy of that project, read GET /projects/{id}.
Limits
Every route spends your per-key minute limit; POST and DELETE spend the write limit too (see Rate limits). There is no daily limit on new suggestions at the moment (since 2026-11-25): GET /suggestions/allowlist shows limits.suggestions_per_utc_day: null while there is none. If we set a daily limit again, that field carries the number, we list it in the Changelog, and a new suggestion past it answers 429 quota_exceeded with Retry-After set to midnight UTC. A replay never counts, and one suggestion counts once however many files it carries. Retry only on 429 and 5xx: a replay is safe.
In the sandbox
With a test key every route answers in the live shape against your own sandbox store: ids are negative, suggestions are kept 24 h, only to that test key (so client_ref is unique per test key there), at most 500 per key, and nothing is written to iMatch — meta.sandbox_note says so. Validation is exactly the live one, and the project and developer you name must be real ones — with one difference: since files are not fetched, a file url may be https on any host (default port), or plain http://localhost / http://127.0.0.1 on any port, so you can rehearse from your own staging or local servers. Such a file carries the warning file_host_not_allowed_live (and meta.warnings names the files): a live key refuses those links with a 400. Every other link rule holds — no credentials, at most 2,048 characters, and plain http on any other host ([::1], 0.0.0.0 and look-alikes such as localhost.evil.com included) is still a 400. Files are not fetched: each file comes back fetch_state: fetched with the warning sandbox_file_not_fetched.
sample.suggestion is the decision — status, reason, and items matched by ref (status, reason, fetch_state, applied_id); a ref the suggestion does not have is a 400. It lands the way our reviewer's would: applied applies every item still pending, rejected rejects them — except an item you name with a status of its own, which keeps it ("status": "pending" included, as fp1 below) — deciding latitude decides longitude too (since v3, deciding one of a price pair decides the other), and the clocks move. A payment_plans item that carries before_differs lands as our reviewer's must: a suggestion-level applied rejects it with not_accurate, and naming it "status": "applied" is a 400. The result is written back, so GET /suggestions/-1001 then shows it, and suggestion.updated is delivered to your test webhooks. Without suggestion_id it decides your newest sandbox suggestion, or a canned one if you have none. In the sandbox a withdrawal sends no event of its own.
Every contract version 2 outcome can be rehearsed the same way: a file item also takes duplicate_of, similar_to, removed_ids (a brochure replace only) and warnings to add (duplicate_of_existing, similar_to_existing, replaces_larger_file), and reason takes wrong_category:
One suggestion per call: field changes (latitude + longitude together, travel_times; since contract_version 3 the prices — min_price_aed, presentation.price_on_request, presentation.price_per_sqft_min_aed / _max_aed, payment_plans) and/or file links (gallery, masterplan / location map, brochure; since contract_version 2 floor plans, a Floor Plan PDF, a brochure replace, and extracted_from / page / order on any file). Field pairs are decided together: latitude + longitude, min_price_aed + presentation.price_on_request, the two per-sqft prices. payment_plans replaces our list only while ours still equals your before (else our reviewer can only reject it, not_accurate). Our platform admin reviews it; nothing is applied without that person. The body is STRICT: an unknown key anywhere, or a key / list / type outside GET /suggestions/allowlist, is a 400 whose details[] name the path (at) and the allowed values (allowed). Nothing is stored on a 400. client_ref is your idempotency key: the same client_ref again answers 200 with the stored suggestion as it stands now and meta.replayed: true (a different body adds the client_ref_reused warning; the stored one stands). Phone numbers, emails, links, WhatsApp mentions and @handles in note become [removed] with the note_contact_removed warning. Body ≤ 1 MB; at most 100 files (over 20, at most 500 MB declared in all); no daily limit on new suggestions at the moment (the per-minute limits still apply). Test keys (sandbox): a TEST key (imc_test_…) gets the whole behaviour against its own sandbox store — negative ids, kept 24 h, nothing written to iMatch, files not fetched. Because they are not fetched, a test key's file links may be https on any host or plain http://localhost / http://127.0.0.1 on any port (each warned file_host_not_allowed_live; a live key accepts only https on app.ipresent.ae). A LIVE key works once we switch your partner on (until then 403 feature_disabled): stored for our reviewer, files fetched as declared into private storage, each step pushed as suggestion.updated.
503Test key only: the sandbox store is unavailable (sandbox_unavailable) — nothing was kept; retry.
get/suggestions
Your suggestions, newest change first
requires suggestions_write
The backstop for a missed suggestion.updated: poll with updated_since = your last sync minus 2 hours. Test keys (sandbox): a TEST key (imc_test_…) gets the whole behaviour against its own sandbox store — negative ids, kept 24 h, nothing written to iMatch, files not fetched. Because they are not fetched, a test key's file links may be https on any host or plain http://localhost / http://127.0.0.1 on any port (each warned file_host_not_allowed_live; a live key accepts only https on app.ipresent.ae). A LIVE key works once we switch your partner on (until then 403 feature_disabled): stored for our reviewer, files fetched as declared into private storage, each step pushed as suggestion.updated.
Parameter
In
Type
Description
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
status
query
string
Comma-separated: pending, approved, applied, rejected, withdrawn. Default: every status
updated_since
query
string
Suggestions whose updated_at is at or after this time — your last sync minus 2 h
Response 200
Suggestions page.
Response shape — placeholder values, not real data
contract_version, every field key with its bounds, every file list with its types, mimes and size ceiling, the limits and the review vocabulary — each entry with the version it arrived in (since). Additions only: nothing accepted under version N is refused under N+1. Feature-detect with this rather than hard-coding. Any key with the feature gets it, live or test.
Response 200
The allowlist.
Response shape — placeholder values, not real data
Another partner's id, or one you do not hold, is 404 — never 403. Test keys (sandbox): a TEST key (imc_test_…) gets the whole behaviour against its own sandbox store — negative ids, kept 24 h, nothing written to iMatch, files not fetched. Because they are not fetched, a test key's file links may be https on any host or plain http://localhost / http://127.0.0.1 on any port (each warned file_host_not_allowed_live; a live key accepts only https on app.ipresent.ae). A LIVE key works once we switch your partner on (until then 403 feature_disabled): stored for our reviewer, files fetched as declared into private storage, each step pushed as suggestion.updated.
Parameter
In
Type
Description
id*
path
integer
Suggestion id (negative for a sandbox suggestion)
* required
Response 200
The suggestion.
Response shape — placeholder values, not real data
pending → withdrawn. Already withdrawn: 200 with it as it stands (meta.replayed: true), so a retry is safe. Decided by our reviewer: 409 suggestion_decided. Test keys (sandbox): a TEST key (imc_test_…) gets the whole behaviour against its own sandbox store — negative ids, kept 24 h, nothing written to iMatch, files not fetched. Because they are not fetched, a test key's file links may be https on any host or plain http://localhost / http://127.0.0.1 on any port (each warned file_host_not_allowed_live; a live key accepts only https on app.ipresent.ae). A LIVE key works once we switch your partner on (until then 403 feature_disabled): stored for our reviewer, files fetched as declared into private storage, each step pushed as suggestion.updated.
Parameter
In
Type
Description
id*
path
integer
Suggestion id
* required
Response 200
Withdrawn (or already withdrawn).
Response shape — placeholder values, not real data
The people who sell for each developer — and the ones your staff add, reviewed by a person before anyone sees them.
The sales agents are the people who sell for each developer: their name, title, photo, and how to reach them. iMatch is the one source for them. You read ours, and the agents your staff add for a developer come to us, wait for our platform admin, and then come back to you with all the others — so one person is one agent everywhere.
Two switches, both off by default:
**sales_agents_read** — GET /sales-agents, GET /sales-agents/{id} and the sales_agent.updated push. The record carries a person's phone, WhatsApp and email, so it is given deliberately.
**sales_agents_write** — POST /sales-agents and GET, PATCH, DELETE /sales-agents/by-external/{external_id}.
Live and test keys (since 2026-11-14):live keys get the agents' full contacts, as we hold them (an iMatch demo sign-in number is still null), and the agents you send are stored for our platform admin's review. A test key (imc_test_…) answers exactly the same way against its sandbox: it reads our real agents with their contacts masked (+9715••••••67, s•••@developer.ae), plus its own sandbox agents once you rehearse their approval. Either way the switch must be on for your partner and the key scoped for it, else 403 feature_disabled.
**project_ids** — the live projects the agent is assigned to (/projects ids). Empty means every live project of the developer.
**photo_url** — only a photo on our own file host (the host of the project and logo images); otherwise null.
**order** — lower first, within a developer or a project.
Only active agents of a developer GET /developers lists are served. An agent with no way to reach them left (an iMatch demo sign-in number is never a contact) is not served. Nothing else we hold about an agent — notes, who edited them — ever leaves.
Read
GET /sales-agents?developer_id=&project_id=&updated_since=&page=&per_page= — by id, at most 100 a page. project_id returns the agents who cover that project: the ones assigned to it, then its developer's agents who cover every project.
GET /sales-agents/{id} — one agent. An inactive one, one whose developer is no longer listed, or an id you may not see is 404 not_found.
**sales_agent.updated** (needs webhooks and sales_agents_read) — one delivery per change: data is { id, change, changed_fields, sales_agent, link }. change is about the record: created (it is now served — e.g. our admin approved it), updated, or deleted (no longer served: deactivated, rejected, suspended, its developer no longer listed, or no way to reach them left) — then sales_agent is null: drop the agent from what your users see. link is your own view (below), only when you sent or linked that agent; everyone else gets null. No cursor.
A developer that stops being listed sends developer.updateddeleted; its agents leave /sales-agents with it, without a push of their own — drop the agents of a deleted developer.
**external_id** names the link between your person and our developer: <your user id>:<our developer id> — 1–40 letters, digits, _ or -, a colon, then the agent's developer_id. It is your idempotency key: the same external_id again answers 200 with the stored agent and meta.replayed: true (a different body adds the external_id_reused warning — change an agent with PATCH).
**developer_id** must be a developer GET /developers lists, and it is fixed: someone who moves developer is a DELETE plus a new POST with the new external_id.
**name 1–120 characters, title at most 80, both plain text. project_ids** — at most 200 live projects of that developer (GET /developers/{id} lists them); empty or absent = every project. **order** optional, default 0.
Contacts:phone and whatsapp in E.164 (+ then 7–15 digits), email a real address — a placeholder (example.com, *.test, *.invalid, *.local, no-reply, none, test, dummy …) is refused; send none instead. At least one of the three. An iMatch demo sign-in number is never a contact: it is dropped, the agent is saved without it, and meta.warnings says phone_not_a_contact.
Strict:photo_url, a company, a RERA BRN or any other key we do not know is 400 validation_error naming it (details[].at, allowed). We never take a photo or a company from a partner.
What happens next. The agent is stored at once with review_status: "pending" and answered 201 — with a live key, sales_agent.id is already OUR id for the agent (store it against your user); a sandbox agent's id is negative. It reaches GET /sales-agents — and so your users, through our record — only after our platform admin approves it; you hear the decision on sales_agent.updated (link.review_status) and on GET /sales-agents/by-external/{external_id}. Rejected (reason says why: not_a_sales_agent, wrong_developer, contact_unreachable, not_accurate, duplicate, other) = never a contact for your brokers; a PATCH sends it again.
A person we already hold for that developer — the same phone or WhatsApp — is never a second agent: 409 sales_agent_exists with details.existing_id. Your external_id is now linked to our agent: read it at GET /sales-agents/{existing_id} and store our id against your user. The same POST again answers the same 409.
Your view, changes, deactivating
GET /sales-agents/by-external/{external_id} answers your view of one of your agents, whatever its review status — the same object every write answers and the link of its sales_agent.updated:
**relation**: owner — you sent it (sales_agent is the agent as you sent it, contacts unmasked, photo_url null); linked — we already held the person (sales_agent is OUR record as GET /sales-agents/{id} serves it, null once we no longer serve it).
**review_status**: pending, approved, rejected, or suspended — our admin deactivated it, on the review or by switching the agent off on our own pages (then reason is other). A linked agent is approved.
**PATCH /sales-agents/by-external/{external_id}** — only the fields you send change (name, title, phone, whatsapp, email, project_ids, order; developer_id only repeated, never changed). While it is pending (or rejected, which goes back to pending) your change applies. Once approved, title, order and project_ids apply at once, while name, phone, whatsapp and email **wait in pending_change for our admin — your brokers keep seeing the old values until then. On a linked** agent every change waits: our values stand until our admin approves yours. A change that would leave no way to reach the agent is a 400.
**DELETE /sales-agents/by-external/{external_id}** — instant. Yours is deactivated and leaves /sales-agents at once; a linked one is only unlinked — our agent stays. Again answers 200 with meta.replayed: true. To bring a deactivated agent back, POST the same external_id again: it is a new submission (same id, pending again).
409 sales_agent_suspended — our admin deactivated it; you cannot change or re-send it. 409 sales_agent_inactive — you deactivated or unlinked it; POST it again.
Limits
Every route spends your per-key minute limit; POST, PATCH and DELETE spend the write limit too (see Rate limits). Body at most 64 KB.
In the sandbox
With a test key the write routes work against your own sandbox store: ids are negative, agents are kept 24 h, only to that test key, at most 500 per key, and nothing is written to iMatch — meta.sandbox_note says so. Validation is exactly the live one: the developer and projects must be real ones, and the duplicate check runs against our real agents too. Nobody reviews a sandbox agent — you play our admin with POST /sandbox/events:
sample.link is the decision: review_status (approved, rejected, suspended, pending), reason, and pending_change (approved applies the waiting change, rejected drops it); a linked agent only takes pending_change. It is written back: an approved agent then shows on GET /sales-agents (contacts masked, like every read with a test key), and sales_agent.updated is delivered to your test webhooks with link set. Without external_id it decides your newest sandbox agent. With neither external_id nor sample.link, the event carries one of OUR agents — the most recently changed one, masked — exactly as the read side pushes it. Deciding needs sales_agents_write on the key; the push needs sales_agents_read on, like the live event.
Endpoints
get/sales-agents
Developer sales agents
requires sales_agents_read
The people who sell for each developer: name, title, photo (on our file host only), phone, WhatsApp, email, and the live projects they are assigned to (project_ids empty = every live project of the developer). Active agents of a listed developer only; an agent with no way to reach them left is not listed. Ordered by id. project_id returns the agents who cover that project: the ones assigned to it and its developer's agents who cover every project. Live and test keys: a LIVE key reads our agents with their FULL contacts (an iMatch demo sign-in number is never a contact: null), and what it sends is stored for our platform admin's review. A TEST key gets the same behaviour against its own sandbox — our real agents with contacts masked, and its own sandbox agents (negative ids, kept 24 h, nothing written to iMatch; rehearse our admin's review with POST /sandbox/events). Either way the partner switch must be on and the key scoped for it, else 403 feature_disabled.
Parameter
In
Type
Description
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
developer_id
query
integer
Only this developer's agents (a /developers id)
project_id
query
integer
Only the agents who cover this project (a /projects id): the ones assigned to it, then its developer's agents who cover every project
updated_since
query
string
Agents whose record changed at or after this time (the record's updated_at)
Response 200
Sales agents page.
Response shape — placeholder values, not real data
One agent per call. It is stored at once as pending and reaches the read side (and your other users) only after our platform admin approves it — watch review_status on GET /sales-agents/by-external/{external_id} or on sales_agent.updated. external_id = <your user id>:<our developer id> and is your idempotency key: the same external_id again answers 200 with the stored agent (meta.replayed: true; a different body adds external_id_reused). The body is STRICT: photo_url, a company, a RERA BRN or any other unknown key is a 400 that names it. Phone and WhatsApp are E.164; an iMatch demo sign-in number is dropped with the phone_not_a_contact warning; email must be a real address. A person we already hold for that developer (the same phone or WhatsApp) is never a second agent: 409 sales_agent_exists with details.existing_id — your external_id is now LINKED to our agent, and your later changes to it wait for our admin. Live and test keys: a LIVE key reads our agents with their FULL contacts (an iMatch demo sign-in number is never a contact: null), and what it sends is stored for our platform admin's review. A TEST key gets the same behaviour against its own sandbox — our real agents with contacts masked, and its own sandbox agents (negative ids, kept 24 h, nothing written to iMatch; rehearse our admin's review with POST /sandbox/events). Either way the partner switch must be on and the key scoped for it, else 403 feature_disabled.
400Bad JSON, an unknown key, a broken rule, a developer we do not list, a project not the developer's own, or no way to reach the agent (validation_error; details[] with at).
403Partner disabled or feature not enabled (partner_disabled / feature_disabled).
409sales_agent_exists — we already hold the person (details.existing_id; your external_id is now linked to it), or sales_agent_suspended — our admin deactivated it.
503Test key only: the sandbox store is unavailable (sandbox_unavailable) — nothing was kept; retry.
get/sales-agents/{id}
One developer sales agent
requires sales_agents_read
An inactive agent, one whose developer is no longer listed, one with no way to reach them left, or an id you may not see is 404 — never 403. Live and test keys: a LIVE key reads our agents with their FULL contacts (an iMatch demo sign-in number is never a contact: null), and what it sends is stored for our platform admin's review. A TEST key gets the same behaviour against its own sandbox — our real agents with contacts masked, and its own sandbox agents (negative ids, kept 24 h, nothing written to iMatch; rehearse our admin's review with POST /sandbox/events). Either way the partner switch must be on and the key scoped for it, else 403 feature_disabled.
Parameter
In
Type
Description
id*
path
integer
Sales agent id (negative for one of your sandbox agents)
* required
Response 200
The agent.
Response shape — placeholder values, not real data
Any review status: review_status, reason, pending_change, and the agent — as you sent it, or (linked) our record. Another partner's or an unknown external_id is 404. Live and test keys: a LIVE key reads our agents with their FULL contacts (an iMatch demo sign-in number is never a contact: null), and what it sends is stored for our platform admin's review. A TEST key gets the same behaviour against its own sandbox — our real agents with contacts masked, and its own sandbox agents (negative ids, kept 24 h, nothing written to iMatch; rehearse our admin's review with POST /sandbox/events). Either way the partner switch must be on and the key scoped for it, else 403 feature_disabled.
Parameter
In
Type
Description
external_id*
path
string
Your id for the agent at this developer: <your user id>:<our developer id>
* required
Response 200
Your view of the agent.
Response shape — placeholder values, not real data
Only the fields you send change; the body is STRICT. developer_id is fixed (send the current one or none): moving developer = DELETE + a new POST. Still pending (or rejected): your change applies, and a rejected agent goes back to pending (sent again). approved: title, order and project_ids apply at once; name, phone, whatsapp and email wait in pending_change for our admin — the old values stay visible until then. LINKED to our agent: every change waits in pending_change; our values stand until our admin approves. 409 sales_agent_suspended once our admin deactivated it; 409 sales_agent_inactive once you deactivated (or unlinked) it — POST it again. Live and test keys: a LIVE key reads our agents with their FULL contacts (an iMatch demo sign-in number is never a contact: null), and what it sends is stored for our platform admin's review. A TEST key gets the same behaviour against its own sandbox — our real agents with contacts masked, and its own sandbox agents (negative ids, kept 24 h, nothing written to iMatch; rehearse our admin's review with POST /sandbox/events). Either way the partner switch must be on and the key scoped for it, else 403 feature_disabled.
Instant: yours leaves the read side at once (active: false); a LINKED one is only unlinked — our agent stays. Already so: 200 as it stands (meta.replayed: true), so a retry is safe. Live and test keys: a LIVE key reads our agents with their FULL contacts (an iMatch demo sign-in number is never a contact: null), and what it sends is stored for our platform admin's review. A TEST key gets the same behaviour against its own sandbox — our real agents with contacts masked, and its own sandbox agents (negative ids, kept 24 h, nothing written to iMatch; rehearse our admin's review with POST /sandbox/events). Either way the partner switch must be on and the key scoped for it, else 403 feature_disabled.
Parameter
In
Type
Description
external_id*
path
string
Your id for the agent at this developer
* required
Response 200
Deactivated (or unlinked).
Response shape — placeholder values, not real data
Launches, prices, payment plans, commission, events and handovers, from the developers' own announcements — in our words, kept in sync.
Developer news is what the developers announce to brokers — a launch, units released or sold out, a new price or payment plan, a commission offer, an event, a handover — read by iMatch from the developers' own announcements and written up as our own short summary. You read it, keep your copy in sync, and show it to your users.
One switch, off by default:
**news_read** — GET /news, GET /news/{id} and the news.created, news.updated and news.removed pushes.
What you never get: the raw message, the WhatsApp group it came from, who sent it, or the file it was in. The text is plain English with no links, emails or phone numbers — we refuse to store one.
**id** — stable and unique across days. Key on it.
**date — the Dubai day it is news on (never after today); sort — its place in that day, lowest first; time** — HH:MM Dubai time, when known.
**kind** — one of launch, inventory, price, payment_plan, commission, event, handover, other. A value you do not know: show it as other.
**developer** — id is the developer's GET /developers id, set only when the news named exactly one developer we list; otherwise null, and name is still there.
**projects** — up to 30. id is the project's GET /projects id when we serve that project; a project we could not link (or do not serve) comes with id: null and its name.
**first_seen / seen_days** — the same news posted again on another day stays ONE item: date may move to the newer day, seen_days counts the days, and first_seen keeps the first. first_seen equal to date means new that day; earlier means repeated since first_seen. The text never says "repeated" itself.
**event** — { starts_at, ends_at, all_day, venue } for an item that announces an event and carries a time or a place; null otherwise. starts_at and ends_at are UTC instants:
Timed event (all_day: false): the real start and end times.
All-day event (all_day: true): starts_at is midnight Dubai of the first day and ends_at is midnight Dubai of the LAST day, inclusive — so read the Dubai calendar day of each, not the UTC date (UTC is still the evening before). An event on 20–21 Nov: "starts_at": "2026-11-19T20:00:00.000000Z", "ends_at": "2026-11-20T20:00:00.000000Z".
A single-day all-day event has ends_at: null: 20 Nov only is "starts_at": "2026-11-19T20:00:00.000000Z", "ends_at": null.
**commission_pct** — the agents' commission the item states, in percent; null when it states none. Commission is for brokers only: never show it on anything a buyer or a developer's own sales agents may see.
**source** — whatsapp (read from the developer's announcements) or manual (added by our staff).
**updated_at** — when its record last changed: created, edited, posted again, hidden, un-hidden or deleted. It is the sync clock.
Hidden and deleted items
Our staff can hide an item (and un-hide it) or delete it. Either way it stays in the feed, so you hear about it:
Hidden — the whole item, with **removed_at** set. Hide it on your side. Un-hiding sends it back with removed_at: null.
Deleted — only three fields, never its text again:
A deleted item never comes back, and the same news posted again does not bring it back either. An item that has removed_at (hidden or deleted) is not shown to your users; an item with removed_at: null is.
Read
GET /news?updated_since=&cursor=&limit= — a sync read: every item, shown, hidden and deleted, in (updated_at, id) order.
Start with updated_since (an ISO date-time: the items that changed at or after it) — or with nothing, for everything.
Then pass meta.next_cursor as cursor while meta.has_more is true. Keep the last next_cursor and start from it next time: nothing is skipped or repeated, even while items are being written.
limit: 1–200, default 100.
Changes from the last 10 seconds are held back, so a write that takes a moment to commit is never skipped. The pushes below are immediate.
GET /news/{id} — one item, whatever its state: the whole item when shown or hidden, the three fields when deleted, 404 not_found when there is no such id. Nothing is held back here.
Apply every item as an upsert keyed on id; an item with removed_at set is hidden on your side.
Pushes
Subscribe a webhook to news.created, news.updated and news.removed (or *). Each needs webhooks and news_read. One delivery per change, sent at once:
**news.updated** — its text, kind, projects, dates or event changed, it was posted again (seen_days), or it was un-hidden (removed_at: null).
**news.removed** — our staff hid it (news is the whole item with removed_at) or deleted it (news is { id, removed_at, updated_at }). Hide it.
news is always exactly what GET /news/{id} returns at send time. Replace your copy by id.
cursor is a GET /news cursor at the item (at most 10 seconds back): if you ever miss deliveries, resume the read from the last one you processed.
news.removed can arrive for an item you never stored (for example one hidden before you read it): ignore an id you do not know.
Sandbox
A test key (imc_test_…) reads the real news like a live key, plus five sample items with negative ids: a launch (-1, today), a timed event (-2, yesterday, with an event next week), a commission note (-3, repeated over three days), a deleted item (-4) and a two-day all-day event (-5, today, held on two Dubai days next week: starts_at = midnight Dubai of the first day, ends_at = midnight Dubai of the second). They are dated from today so they always sit in your last 60 days, and they come back once a day in an updated_since read — upsert by id. GET /news/-1 works on a test key; a live key never sees them.
POST /sandbox/events with { "event": "news.created" }, "news.updated" or "news.removed" sends one of them to your test webhooks, exactly as live sends a real item. Name the sample with news_id (default: -1 for news.created, -3 for news.updated, -4 for news.removed). The two changes are remembered for your test key for 24 hours, so GET /news/{id} and GET /news then show exactly what the push carried:
**news.updated** edits the sample: sample.news may set headline, detail, kind, time, event and commission_pct (any other key is a 400). Without sample.news the item is posted again today (date today, seen_days + 1). Either way updated_at moves to now, and a hidden sample is un-hidden (removed_at: null). A deleted sample cannot be updated (400): a deleted item never comes back.
**news.removed** hides the sample (the whole item with removed_at), or deletes it with "news_removal": "deleted" (its three fields only, from then on).
{ "event": "news.updated", "news_id": -2, "sample": { "news": { "headline": "Sales event moved to Friday", "time": "19:00" } } }
Another test key, and every live key, still sees the samples as generated.
Endpoints
get/news
Developer news
requires news_read
The developer news iMatch builds from the developers' own announcements: launches, inventory, prices, payment plans, commission, events and handovers — OUR plain-text summary (English; never the raw message, the group, the sender or the file; no links, emails or phone numbers), with the developer and the projects it is about (id set only when GET /developers / GET /projects serves them). A sync read: EVERY item, in (updated_at, id) order — shown, hidden (removed_at set: hide it on your side) and deleted ({ id, removed_at, updated_at } only: its text is never served again). Start with updated_since (or nothing, for everything), then pass meta.next_cursor as cursor while meta.has_more is true; keep the last next_cursor for your next run. Changes from the last 10 seconds are held back so a slow write is never skipped. Key on id (stable, unique across days). A test key also gets sample items with negative ids (four items, one a two-day all-day event, and one deleted item).
Parameter
In
Type
Description
updated_since
query
string
Items whose record changed at or after this time — created, edited, posted again, hidden, un-hidden or deleted (the item's updated_at). Ignored when cursor is sent.
cursor
query
string
meta.next_cursor from your previous call — continue exactly where it stopped
limit
query
integer
Items per call: default 100, max 200
Response 200
News page.
Response shape — placeholder values, not real data
The item, whatever its state: shown, hidden (removed_at set) or deleted — a deleted item answers { id, removed_at, updated_at } only, so you can reconcile, never its text. No changes are held back here.
Parameter
In
Type
Description
id*
path
integer
News item id
* required
Response 200
The item.
Response shape — placeholder values, not real data
Discounted deals and the fields behind the discount.
A distress listing is one being sold below what the seller paid or below the market — a motivated seller, a discount, and the numbers that explain it. iMatch classifies these from the broker's own message and stores the benchmark the discount is measured against.
Distress is a separate feature switch, distress_read, off by default. iMatch enables it deliberately per partner.
With distress_read
GET /distress is GET /listings with category forced to Distress, every discount field always present, and a default sort of biggest discount first (-discount_percent). All the listing filters work, and so does everything about pictures — including the kind: "project" fallback, which is a photo of the building, not the unit (see Listings).
On GET /listings, distress rows carry their category as "Distress" and the discount fields, and you may filter with category=Distress or sort by discount_percent.
A new distress listing going live also fires the distress.created webhook, if you subscribe to it.
The discount fields: distress_type, original_price (what the seller paid), market_price (what comparable stock asks), op_plus_dld, discount_amount, discount_percent, seller_urgency, total_on_transfer, already_paid, premium, dld_fee, commission, pending_payment, payment_notes. selling_price is always the asking price, on every listing, distress or not.
Without it
The same listings are still returned by GET /listings — a discounted apartment is still an apartment for sale — but the discount fields are absent, category reads "Normal", the texts that state the deal — description, ai_summary, extra_details, extra_features and source — are null on a distress listing that is not yours (the keys stay; q does not search such a listing's description and source= does not match it), a category filter is ignored, sort=discount_percent is refused as a validation_error, and GET /distress answers feature_disabled.
Read the numbers honestly
discount_percent is measured against original_price or market_price, whichever the broker gave. A benchmark is a claim by the listing broker, not a valuation by iMatch; treat it as the seller's story and verify before you quote it.
Endpoints
get/distress
Distress deals (discounted listings)
requires distress_read
Same filters as /listings; category is forced to Distress and the discount fields are always present. Default sort: biggest discount first. Project photos and project_id / project_photo_url work exactly as on /listings — a kind: "project" photo is the building, not this unit.
Parameter
In
Type
Description
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
q
query
string
Free text over reference, project, community, area, description
purpose
query
string
Sale | Rent
property_type
query
string
area
query
string
community
query
string
project
query
string
Contains-search on the listing's own project text (Oasis also finds Oasis Two). For one exact project use project_id
project_id
query
integer
Exact: only listings whose project_id is this /projects id — the same confident match that fills project_id on each row. Combines with every other filter; an id no listing resolves to answers an empty page
developer
query
string
bedrooms
query
string
studio | 1 | 2 | … (exact); 5+ means five or more
bathrooms
query
integer
min_price
query
number
max_price
query
number
min_sqft
query
number
max_sqft
query
number
furnished
query
string
completion_status
query
string
Ready | Off-Plan
category
query
string
Normal | Distress — only honoured with distress_read
source
query
string
updated_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
created_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
Every place in the UAE in one tree, with the same ids on both sides — and the vocabulary every other endpoint speaks.
Location is the first thing a match is scored on, so both sides need to speak about the same places. iMatch keeps every place in the UAE in one tree — city → region → area → community → sub-community → cluster → building, about 22,500 places — and gives you the same ids we use, so your records and ours can point at the same place.
The tree
GET /locations — the top: the eight emirate cities.
GET /locations/{id} — one place (node), the places it sits in (ancestors, the city first) and the first page of the places directly inside it (children).
GET /locations/{id}/children?cursor= — every place directly inside, A–Z, keyset-paged: pass meta.next_cursor back until it is null.
GET /locations/search?q= — what a user typed, best first: the whole text IS a name or an alias (JVC), then a name starting with it, then a word starting with it, then a close spelling — Dubai before the other emirates at each step. meta.exact says whether anything matched exactly.
A place is id, name, name_ar (the Arabic name, when we have one), level, parent_id (null for a city), breadcrumb (the places it sits in, the city first, the place itself excluded), is_umbrella (too big to be one neighbourhood — every city and region, and large areas like Dubai South) and lat / lng. Area ids are the same ids GET /areas returns.
On GET /locations/{id} the place also carries aliases: every other text iMatch reads as that place — spellings, abbreviations, former and marketing names, the names of places merged into it, and the names of buildings we file under it. Each is { "text": "…", "lang": "en" | "ar" }.
A place that was merged into another answers as the survivor, with meta.merged_from set to the id you asked for — store the new id. A place taken out of the tree answers 404. GET /locations/retired lists every id that no longer answers as a place of its own and where it went (merged_into, or null).
Keeping a copy: the export
GET /locations/export walks the whole tree, parents before children, up to 2,000 places a page (limit, default 1,000): pass meta.next_cursor back as cursor until it is null. Every parent_id on a page was served on an earlier page or on the same one, so you can insert as you go.
Every page carries an ETag — the version of the tree you are looking at, also in meta.version. Keep it. Next time, send it as If-None-Match on the first page: an unchanged tree answers **304 Not Modified** with no body, so a daily "did anything change?" is one cheap call. If the version on your last page differs from the one on your first, the tree changed while you walked — walk again. After a walk, re-point any stored id that GET /locations/retired lists.
Keeping a copy current: the change feed
GET /locations/changes lists the places that changed since a point, oldest first — take the export once, then follow this feed instead of walking the tree again:
change — created; updated (the place itself, one of its aliases or outside ids, or a place above it — so its breadcrumb — changed); deleted (no longer a live place: switched off, or merged — merged_into_id is where it went; re-point anything you stored).
place — the place exactly as the export gives it to you. With locations_refs that is the full node, and a merged or switched-off node is shown as it is (active: false, merged_into_id), never as its survivor; schools and nurseries appear too. Without it, the compact place — null once it is no longer a live place (schools and nurseries never appear).
since starts a walk (an ISO date-time, or any cursor we issued); cursor (= meta.next_cursor) continues one and wins when both are sent. Up to 2,000 places a page (limit, default 500); call again right away while has_more is true, then keep polling with the same cursor — daily, hourly, whatever suits you.
600 seconds behind real time (meta.lag_minutes: 10). Changes younger than that are held back and the cursor never passes now − 10 min (meta.until): a place's change carries the moment its batch STARTED, and a batch that re-files hundreds of places can run for minutes. You will re-read the last few minutes now and then — upsert by id and that is harmless.
GET /changes?types=locations is the ids-only view of the same rows; the cursors work on both.
Prefer the export for your first copy — it is ordered parents-first; the feed is ordered by time.
The tree is read-only through the API: nobody edits it through Connect. A name or alias you think is wrong — tell us.
**Pushed instead of polled — location.updated.** Subscribe a webhook to location.updated and every few minutes we POST the places that changed since the last delivery: data = { scope, locations: [ …the same items… ], cursor }, each place once, at most 100 per delivery. cursor is the feed position right after the last place of that delivery — resume /locations/changes from it if you ever missed a delivery. It follows the feed, so it arrives about 10–15 minutes after the change. See Webhooks.
The full tree (locations_refs)
With the locations_refs feature (iMatch turns it on per partner) you see everything we hold, not the compact picture:
GET /locations/export walks every node — merged signposts, retired places, schools and nurseries included — with every field: depth, path (root → self ids), slug, kind, is_place, active, merged_into_id, the umbrella figures, the neighbourhood (nbhd_top_id), the geocode source and time, the legacy area / community / project ids and coordinates, created_at, updated_at — on top of the compact fields. meta.scope reads "full".
aliases are the alias rows, inactive ones included, each with its kind (official, variant, abbreviation, former_name, marketing, catalogue_name, legacy_*), origin, active, norm (the resolver's normal form) and its own id.
refs are the place's outside ids: its Bayut location id, its Dubai Land Department area / master project / project / building ids — each marked primary or secondary, with what that system calls the place — and our older lists' ids (legacy_area, legacy_community, legacy_project).
GET /locations/{id} answers the same full shape, for any node the export carries.
GET /locations/by-ref/{source}/{external_id} turns an outside id into our place: /locations/by-ref/bayut/5003, /locations/by-ref/dld_project/1234, /locations/by-ref/legacy_community/88.
Every listing's location also carries its place's primary refs, and you can place a listing by an outside id (below).
The exact field list is the LocationFull schema in the reference below. Without locations_refs none of these outside ids or provenance fields ever reach you.
Text → place: resolve
GET /locations/resolve?area=&community=&project= answers where iMatch would place a listing with that text — the same reading POST /listings makes when no id is sent: our area vocabulary first, then the database's resolver (exact names, aliases and catalogue projects, Dubai first, never a fuzzy guess). Add within=<id> to look only inside one place.
status: "resolved" — one place, no guess.
status: "ambiguous" — several places fit. place is the one iMatch would choose (null when it would not choose); candidates says how many fit.
status: "unresolved" — no place. Fix the spelling, or tell us the name and we add the alias.
conflicting_fields lists the fields that name a place somewhere else than place (["community"] when your community text points at another district) — usually a text worth correcting.
Placing a listing
Best first: send location_id (our id) on POST / PATCH /listings and the listing is filed exactly there. With locations_refs, external_ref: { "source": "bayut", "id": "5003" } (or bayut_location_id) files it under the place that outside id names. Otherwise the listing is placed from its area / community / project text, as resolve shows. Every listing you read back carries location_id and location (the place and its breadcrumb). See Listings.
The older lists: areas and communities
GET /areas returns every active area — id, name, latitude, longitude, and aliases — with the same ids as the tree. GET /communities returns the older community list: id (that list's own id), community, parent_area, hierarchy_level, and location_id — the same community as a place of the tree. Prefer /locations for anything new; places added to the tree since it was built appear only there.
Caching
The tree changes slowly. search, /locations, /locations/{id}, children, resolve and by-ref answer with Cache-Control: private, max-age=300; /areas and /communities with max-age=3600; the export and retired with private, no-cache and an ETag (revalidate, pay a 304). Every call still counts against your per-minute limit, so keep a local copy rather than asking per request.
When a name does not resolve
A listing whose area we cannot map is still saved, with a warning in the write response (area "…" is not in iMatch's location vocabulary — matching will be weak). Fix the spelling on your side, place it by id, or tell us the name and we add the alias — the vocabulary is curated, and a real place that is missing is a bug we want to hear about.
Endpoints
get/areas
Areas with aliases
requires areas_read
Response 200
Every active area. Client-cacheable for an hour (Cache-Control: private, max-age=3600).
Response shape — placeholder values, not real data
Every place in the UAE sits in one tree: city → region → area → community → sub-community → cluster → building. Results are ranked: the whole query IS a name or an alias (JVC) → a name starting with it → a word starting with it → a close spelling. Each place carries its breadcrumb (the places it sits in, the city first), so a picker can show where it is. meta.exact is true when a name or alias matched the whole query. Area ids are the same ids /v1/areas returns. Client-cacheable for five minutes (Cache-Control: private, max-age=300).
Parameter
In
Type
Description
q*
query
string
What the user typed — a name, an abbreviation (JVC) or its start
limit
query
integer
Default 12, max 30
level
query
string
Comma list of levels to keep, e.g. area,community
under
query
integer
Only places inside this place id
* required
Response 200
Places, best first.
Response shape — placeholder values, not real data
Every place that sits in nothing — the eight emirate cities — A–Z. The starting point of a walk: continue with /locations/{id}/children, or take the whole tree at once with /locations/export. Client-cacheable for five minutes (Cache-Control: private, max-age=300).
Response 200
The cities.
Response shape — placeholder values, not real data
Parents before children (depth, then id), so every parent_id on a page was served on an earlier page or this one. Walk with meta.next_cursor until it is null. meta.scope says what you get: compact — every live place (the place fields plus aliases); full — with the locations_refs feature: EVERY node (merged signposts, retired places, schools and nurseries too) with every column we hold, every alias row with its kind, and every outside id (refs: Bayut, DLD, legacy — primary and secondary). Every page carries ETag = the version of what you see (meta.version too): send it back as If-None-Match and an unchanged tree answers 304 Not Modified with no body. If the version on your last page differs from your first, the tree changed while you walked — walk again.
Parameter
In
Type
Description
cursor
query
string
next_cursor from the previous page
limit
query
integer
Places per page. Default 1000, max 2000
If-None-Match
header
string
The ETag of a page you already hold — an unchanged tree answers 304.
Response 200
One page of places.
Response shape — placeholder values, not real data
The places that changed since a point — incremental sync of the tree
requires areas_read
Take /locations/export once, then keep your copy current with this feed. Every item is { id, change, at, merged_into_id, place }: change is created, updated (the place, one of its aliases or outside ids, or a place above it — its breadcrumb — changed) or deleted (no longer a live place: switched off, or merged — merged_into_id says where; re-point what you stored). place is the place exactly as the export shows it: every field with the locations_refs feature (merged and retired nodes as they are, schools and nurseries included), the compact place otherwise (null when it is no longer a live place; compact never lists schools or nurseries). Ordered by (updated_at, id) with a strict cursor — nothing skipped or repeated. Ten-minute safety lag: changes from the last 10 minutes are held back and next_cursor never passes now − 10 min (meta.until), because a place-writing batch can run for minutes and its rows carry its start time. Start with since (an ISO date-time, or any cursor we issued); continue with cursor = meta.next_cursor (it wins when both are sent). With neither, the feed starts from the tree's beginning — prefer the export for a first copy. GET /changes?types=locations is the ids-only view of the same rows; the cursors are interchangeable. Read-only: the tree is never modified through the API.
Parameter
In
Type
Description
since
query
string
Where to start: an ISO 8601 date-time, or a next_cursor you were given. Ignored when cursor is sent.
cursor
query
string
meta.next_cursor from your previous call — continue exactly where it stopped
limit
query
integer
Places per page. Default 500, max 2000
Response 200
One page of changed places.
Response shape — placeholder values, not real data
Place ids that no longer answer as a place of their own
requires areas_read
Merged into another place (merged_into = the live survivor — re-point what you stored) or taken out of the tree (merged_into: null). The companion of the compact export for a CRM that stores our ids. Same version and conditional GET as the export's tree.
Parameter
In
Type
Description
If-None-Match
header
string
A version you already hold.
Response 200
Every retired id.
Response shape — placeholder values, not real data
Where a listing with this location text would be placed
requires areas_read
The same reading POST /listings makes of the same area / community / project (when no location_id is sent): our area vocabulary, then the database's resolver — exact names, aliases and catalogue projects, Dubai first, never a fuzzy guess. status is resolved (one place), ambiguous (several fit — place is the one iMatch would choose, null when it would not) or unresolved. conflicting_fields names fields that point somewhere else — usually a text worth fixing. Check a placement before you push, or map your own location list once.
Parameter
In
Type
Description
area
query
string
The listing's area text, exactly as you would send it to POST /listings
community
query
string
The listing's community text
project
query
string
The listing's project or building text
within
query
integer
Only look inside this place id
Response 200
The placement.
Response shape — placeholder values, not real data
A Bayut location id, a Dubai Land Department area / master project / project / building id, or the id of one of our older lists (legacy_area = /areas id, legacy_community = /communities id, legacy_project) → the place, with every field. A place merged since answers as its survivor. Off unless iMatch enabled locations_refs for you.
One place, the places it sits in, and the places inside it
requires areas_read
node is the place and its aliases (the other texts iMatch reads as it). With the locations_refs feature it is the FULL place: every column we hold, every alias row with its kind, every outside id — and any node the full export carries (a school, a retired place) answers too. children is the first page of the places directly inside, A–Z — continue with /locations/{id}/children. A merged place answers as the place it was merged into, with meta.merged_from set to the id you asked for — store the new id.
Parameter
In
Type
Description
id*
path
integer
Place id
* required
Response 200
The place.
Response shape — placeholder values, not real data
Where your listings met someone's requirement, or the other way round.
A match is iMatch's judgement that one listing fits one inquiry: same location, compatible type and bedrooms, budget within band, plus the softer signals. Matching runs the moment a listing or an inquiry goes live, in both directions.
GET /matches returns the matches on your own records — where your listing met someone's inquiry, or your inquiry met someone's listing. You never see matches between two other parties.
id, score (0–100), reason (a sentence explaining the score), status, created_at.
kind: exact or nearby (see below), and is_nearby — the same fact as a boolean.
mine: which side is yours — listing, inquiry, or both when you own both ends.
listing and inquiry: the full public shapes of each side, as on their own endpoints — including the embedded listing's photos, project_id and project_photo_url, where a kind: "project" photo is the building rather than the unit (see Listings). The other party's agent.phone is included only with include=contact, and that is charged as a reveal; your own side is never charged.
Filter with since (matches created at or after an instant), status, side (listing | inquiry — which side is yours), listing_id, inquiry_id, min_score. Pages as everywhere else.
Exact and nearby matches
Most matches are exact: the listing is in the very place the buyer asked for. Some are nearby — right on budget, type and bedrooms, in the right area, but not the exact place: another building in the same community, or a community inside the wider area the buyer named. reason ends with what made it nearby (for example nearby: in JVC, building not stated).
iMatch shows nearby matches on their own, under their own heading, and never counts them as matches. Your integration gets the same default:
Reads return exact matches only. Add nearby to include to get both kinds — include=nearby, or include=contact,nearby — each one marked by kind; meta.total counts what you asked for. The same holds for GET /me/matches and the embedded matches screen; over MCP, my_matches takes include_nearby: true.
Pushes are exact matches only.match.created fires for a nearby match only when iMatch has switched on the matches_nearby feature for you (GET /me shows it); the payload then says kind: "nearby".
Keep them apart. If you take nearby matches, show them in their own list, never mixed in with the exact ones.
To rehearse a nearby push with a test key: POST /sandbox/events with { "event": "match.created", "sample": { "match": { "kind": "nearby", "is_nearby": true } } }.
Getting them pushed instead
Subscribe a webhook to match.created and every new exact match on your records arrives within seconds, carrying the same { match, mine } shape — minus contacts, which you fetch with include=contact when you decide to act. Nearby matches come too only with matches_nearby (above). See Webhooks.
What iMatch does on its side
When a match is created, iMatch also alerts the broker on the other side through the iMatch app and WhatsApp, exactly as it does for any two members of the network. Your integration does not need to do anything for that to happen, and cannot switch it off — being matchable is what the network is for.
Endpoints
get/matches
Matches on your own listings and inquiries
requires matches_read
EXACT matches only unless you send include=nearby: then NEARBY matches too (the right area, not the exact building), each marked kind: "nearby" / is_nearby: true — meta.total counts what you asked for. Show nearby matches apart from exact ones.
Parameter
In
Type
Description
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
since
query
string
Only matches created at/after this instant
status
query
string
side
query
listing | inquiry
Which side of the match is yours
listing_id
query
integer
inquiry_id
query
integer
min_score
query
number
include
query
string
Comma-separated extras. contact adds the other party's agent.phone (charged as a reveal). nearby adds NEARBY matches (the right area, not the exact building) — left out unless you ask; each match says which it is in kind.
Response 200
Matches page.
Response shape — placeholder values, not real data
We call you when something happens. Signed, retried, never silent.
Register an HTTPS endpoint and iMatch calls it when something happens on your records — a new match, a listing you pushed changing state, a new distress deal. Every delivery is signed, retried on failure, logged, and re-sendable from your side. Needs the webhooks feature.
Events
Event
When
ping
A test delivery you asked for (POST /webhooks/{id}/test).
match.created
A new match on one of your listings or inquiries. Exact matches only, unless iMatch switched matches_nearby on for you — then nearby ones too, marked kind: "nearby". See Matches.
listing.created
One of your listings was created through Connect.
listing.updated
One of your listings was changed through Connect, or put back on the market.
listing.unlisted
One of your listings was taken off the market — by you, by expiry, or by iMatch.
listing.sold
One of your listings was marked sold — by you, or by iMatch.
inquiry.created
One of your inquiries was created through Connect.
inquiry.updated
One of your inquiries was changed through Connect, or re-opened.
inquiry.unlisted
One of your inquiries was closed — by you, by expiry, or by iMatch.
distress.created
A new distress deal went live anywhere in the market (needs distress_read).
agent_link.connected
One of your users connected their iMatch account. See Agent links.
agent_link.revoked
An agent link ended — revoked_by says whether it was the agent, you, their brokerage, iMatch, or their account being deactivated. Never carries a phone or an email.
location.updated
Places of the locations tree changed — created, renamed, moved, re-aliased, merged or retired (needs areas_read). See Locations.
project.updated
A project in the catalogue changed — one delivery per change, the project sent whole, or as deleted when it is no longer public (needs projects_read). See Projects.
unit.updated
A developer price-list unit changed, or started / stopped being listed (its price list approved, withdrawn or replaced) — one delivery per unit, sent whole, or as deleted (needs units_read). See Projects.
developer.updated
A developer's directory entry or profile changed, or a project joined or left its live list, moved to another developer or changed the logo it shows — one delivery per change, sent whole, or as deleted when it is no longer listed (needs developers_read). See Projects.
suggestion.updated
One of your project suggestions moved — its status, an item's status, a file's fetch state or a reason, or a withdrawal — sent whole, one delivery per change; never on creation (needs suggestions_write). See Suggestions.
sales_agent.updated
A developer's sales agent changed, started being listed, or stopped — one delivery per change, sent whole, or as deleted; the partner that sent or linked the agent also gets its review status in link (needs sales_agents_read). See Sales agents.
Subscribe to a list of these, or to * for all of them. Up to 10 webhooks per partner.
A change you make yourself through the API is announced once, right after your call returns. A change iMatch makes to one of your rows — a listing expiring after 21 days, an inquiry after 7 (see each guide's *Expiry & renew*), an admin taking a row down — is announced the same way, from inside the database, usually within seconds and always within a few minutes. reason and actor (below) say which it was. location.updated follows the locations change feed and so arrives about 10–15 minutes after the change. project.updated, unit.updated and developer.updated go out the moment the record changes, one delivery per change.
The response carries secret — once. Store it next to the URL; you will verify every delivery with it. PATCH /webhooks/{id} with rotate_secret: true mints a new one (again shown once; the old one stops working immediately). The URL must be https:// and resolve to a public host — private and loopback addresses are refused.
The body is always the same envelope: id (the delivery id — your idempotency key), event, created_at, partner (your slug) and data. data is { listing, reason, actor } / { inquiry, reason, actor } for the lifecycle events of your own rows (below), { listing } for distress.created, { match, mine }, { scope, locations, cursor } for location.updated, { id, change, changed_fields, project, cursor } for project.updated, { id, change, changed_fields, unit, cursor } for unit.updated, { id, change, changed_fields, developer, cursor } for developer.updated, { id, change, changed_fields, suggestion } for suggestion.updated (no cursor), { id, change, changed_fields, sales_agent, link } for sales_agent.updated (no cursor), or { webhook_id } for a ping — serialised with exactly the shapes the read endpoints use. A broker's contact is never inside a webhook — fetch it with include=contact when you decide to act on the record. The two records that ARE contact details — a developer's office line on developer.updated and a sales agent's phone, WhatsApp and email on sales_agent.updated — arrive as their read endpoints serve them (masked on a test key).
Who did it — reason and actor
Every listing.created, listing.updated, listing.unlisted, listing.sold, inquiry.created, inquiry.updated and inquiry.unlisted event about one of YOUR rows carries two fields next to the row in data, so your system can tell its own echo from a real take-down:
reason
actor
Meaning
partner
your partner slug
Your own API call (REST or the MCP write tools). The echo of what you just did — safe to ignore.
expiry
system:auto-unlist
iMatch's daily expiry took it off the market (a listing 21 days, an inquiry 7, after it was created or last renewed). Renew it (POST …/by-external/{external_id}/renew) if it is still on the market.
imatch
imatch:admin
An iMatch team member changed it.
imatch
imatch:user
A signed-in iMatch user — the listing's agent or their brokerage — changed it in the iMatch app, website or Copilot.
imatch
imatch:system
An iMatch rule changed it with no person behind it (for example the sale-price floor holding a sale under AED 300,000 off-live), or no person can be named for the change.
actor never names a person — never a name, an id, a phone or an email — only your own slug or one of the words above. distress.created and match.created are not about one of your rows' lifecycle and carry neither field.
Respond with any 2xx within 10 seconds. Do the work afterwards, not before you answer.
Retries and giving up
A non-2xx answer, a timeout or a connection failure is retried at 1 minute, 5 minutes, 30 minutes, 2 hours and 12 hours after the first attempt — six attempts in all — then the delivery is marked failed. Deliveries are at-least-once: you may see the same id twice, so dedupe on it.
After 50 consecutive failed deliveries the webhook is switched off (active: false) so a dead endpoint is not hammered forever. Re-enable it with PATCH /webhooks/{id} { "active": true }, which also resets the counter.
GET /webhooks/deliveries lists what was sent (status, attempts, response code, last error); GET /webhooks/deliveries/{id} shows one with its exact payload; POST /webhooks/deliveries/{id}/redeliver sends it again with a fresh retry budget (refused with too_soon if it succeeded less than a minute ago).
Verifying the signature
X-Connect-Signature is t=<unix seconds>,v1=<hex> where
v1 = HMAC-SHA256( secret, t + "." + rawBody )
rawBody is the exact bytes you received — sign the raw request body, never a re-serialised copy of the parsed JSON. Compare in constant time, and reject a t more than 5 minutes from your clock to shut out replays.
Below is a fixed test vector. Run your verifier on it before wiring anything else: if your code produces this v1 for this secret, timestamp and body, your HMAC is right and any later mismatch is in what you signed.
secret : whsec_test_0123456789abcdef
t : 1789171200
body : {"id":"1","event":"ping","created_at":"2026-09-12T00:00:00.000Z","partner":"acme","data":{"webhook_id":1}}
v1 : 564f7e018a1a9aec73579a593f6e9098e778aa4187a926de95a9a1f56f900f6d
header : t=1789171200,v1=564f7e018a1a9aec73579a593f6e9098e778aa4187a926de95a9a1f56f900f6d
Node
import { createHmac, timingSafeEqual } from "node:crypto";
export function verifyConnectSignature(secret, header, rawBody, toleranceSec = 300, now = Math.floor(Date.now() / 1000)) {
const parts = Object.fromEntries(String(header ?? "").split(",").map((p) => p.trim().split("=")));
const t = Number(parts.t);
if (!Number.isInteger(t) || !/^[0-9a-f]{64}$/i.test(parts.v1 ?? "")) return false;
if (toleranceSec >= 0 && Math.abs(now - t) > toleranceSec) return false;
const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`, "utf8").digest();
const got = Buffer.from(parts.v1, "hex");
return got.length === expected.length && timingSafeEqual(got, expected);
}
// The published test vector — must print true.
const secret = "whsec_test_0123456789abcdef";
const header = "t=1789171200,v1=564f7e018a1a9aec73579a593f6e9098e778aa4187a926de95a9a1f56f900f6d";
const body = '{"id":"1","event":"ping","created_at":"2026-09-12T00:00:00.000Z","partner":"acme","data":{"webhook_id":1}}';
console.log(verifyConnectSignature(secret, header, body, -1)); // -1 = ignore the clock for this offline check
// In an HTTP handler: read the RAW body (e.g. express.raw({ type: "*/*" })), then
// if (!verifyConnectSignature(process.env.IMATCH_WEBHOOK_SECRET, req.get("X-Connect-Signature"), req.body.toString("utf8"))) return res.status(401).end();
PHP
<?php
function verifyConnectSignature(string $secret, ?string $header, string $rawBody, int $toleranceSec = 300, ?int $now = null): bool {
$now = $now ?? time();
$t = null; $v1 = null;
foreach (explode(',', (string) $header) as $part) {
[$k, $v] = array_pad(explode('=', trim($part), 2), 2, null);
if ($k === 't') $t = $v;
if ($k === 'v1') $v1 = $v;
}
if ($t === null || !ctype_digit($t) || $v1 === null || !preg_match('/^[0-9a-f]{64}$/i', $v1)) return false;
if ($toleranceSec >= 0 && abs($now - (int) $t) > $toleranceSec) return false;
$expected = hash_hmac('sha256', $t . '.' . $rawBody, $secret);
return hash_equals($expected, strtolower($v1));
}
// The published test vector — must print true.
$secret = 'whsec_test_0123456789abcdef';
$header = 't=1789171200,v1=564f7e018a1a9aec73579a593f6e9098e778aa4187a926de95a9a1f56f900f6d';
$body = '{"id":"1","event":"ping","created_at":"2026-09-12T00:00:00.000Z","partner":"acme","data":{"webhook_id":1}}';
var_dump(verifyConnectSignature($secret, $header, $body, -1)); // -1 = ignore the clock for this offline check
// In a controller: $rawBody = file_get_contents('php://input'); $header = $_SERVER['HTTP_X_CONNECT_SIGNATURE'] ?? null;
Python
import hmac, hashlib, time
from typing import Optional
def verify_connect_signature(secret: str, header: Optional[str], raw_body: bytes, tolerance_sec: int = 300, now: Optional[int] = None) -> bool:
now = int(time.time()) if now is None else now
parts = dict(p.strip().split("=", 1) for p in (header or "").split(",") if "=" in p)
t, v1 = parts.get("t", ""), parts.get("v1", "")
if not t.isdigit() or len(v1) != 64:
return False
if tolerance_sec >= 0 and abs(now - int(t)) > tolerance_sec:
return False
expected = hmac.new(secret.encode("utf-8"), f"{t}.".encode("utf-8") + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, v1.lower())
# The published test vector — must print True.
secret = "whsec_test_0123456789abcdef"
header = "t=1789171200,v1=564f7e018a1a9aec73579a593f6e9098e778aa4187a926de95a9a1f56f900f6d"
body = '{"id":"1","event":"ping","created_at":"2026-09-12T00:00:00.000Z","partner":"acme","data":{"webhook_id":1}}'
print(verify_connect_signature(secret, header, body.encode("utf-8"), -1)) # -1 = ignore the clock for this offline check
# In a Flask/Django view: raw_body = request.get_data() / request.body; header = request.headers.get("X-Connect-Signature")
A header may carry more than one v1= during a secret rotation on your side; the reference implementation in iMatch accepts any one of them. The snippets above check the single v1, which is what you will normally receive.
Endpoints
get/webhooks
Your webhooks
requires webhooks
Response 200
Every webhook, secrets never included.
Response shape — placeholder values, not real data
Create a webhook (the signing secret is returned ONCE)
requires webhooks
We POST a JSON envelope { id, event, created_at, partner, data } with headers X-Connect-Event, X-Connect-Delivery-Id and X-Connect-Signature: t=<unix seconds>,v1=<hex> where v1 = HMAC-SHA256(secret, t + "." + rawBody). Verify in constant time and reject t older than 5 minutes. Respond 2xx within 10 s; anything else is retried at 1m, 5m, 30m, 2h and 12h, then marked failed. Fifty consecutive failed deliveries switch the webhook off. Deliveries are at-least-once — dedupe on id.
Events: ping — A test delivery you asked for. · match.created — A new match on one of your listings or inquiries — exact matches; nearby ones too only with the matches_nearby feature. · listing.created — One of your listings was created through Connect. · listing.updated — One of your listings was changed through Connect, or put back on the market. · listing.unlisted — One of your listings was taken off the market — by you, by expiry, or by iMatch. · listing.sold — One of your listings was marked sold — by you, or by iMatch. · inquiry.created — One of your inquiries was created through Connect. · inquiry.updated — One of your inquiries was changed through Connect, or re-opened. · inquiry.unlisted — One of your inquiries was closed — by you, by expiry, or by iMatch. · distress.created — A new distress deal went live (needs the distress feature). · agent_link.connected — One of your users connected their iMatch account. · agent_link.revoked — An agent link ended — by the agent, by you, by their brokerage, by iMatch, or because the account was deactivated. · location.updated — Places in the locations tree changed — created, renamed, moved, re-aliased, merged or retired (needs areas_read). · project.updated — A project in the catalogue changed — sent whole, or as deleted when it is no longer public, as soon as it changes, one delivery per change (needs projects_read). · unit.updated — A developer price-list unit changed, or started / stopped being listed (its list approved or withdrawn) — sent whole, or as deleted, as soon as it changes, one delivery per unit (needs units_read). · developer.updated — A developer's record changed (directory entry or profile), or a project joined or left its live list, moved to another developer or changed the logo it shows — sent whole, or as deleted when it is no longer listed, one delivery per change (needs developers_read). · suggestion.updated — One of your project suggestions moved — its status, an item's status, a file's fetch state or a reason — sent whole, one delivery per change; not sent on creation (needs suggestions_write). · sales_agent.updated — A developer sales agent changed, started being listed, or stopped (deactivated, or its developer no longer listed) — sent whole, or as deleted, one delivery per change; the partner that sent or linked the agent also gets its review status (needs sales_agents_read). · news.created — A new developer news item — sent whole, as GET /news/{id} returns it, one delivery per item (needs news_read). · news.updated — A developer news item changed (its text, kind, projects, dates, or it was posted again, or un-hidden) — sent whole, one delivery per change (needs news_read). · news.removed — A developer news item was hidden or deleted by iMatch — hide it on your side; a deleted item carries only id, removed_at and updated_at (needs news_read).
Request body
HTTPS url, the events to receive (or *), optional description.
rotate_secret: true mints a new secret and returns it ONCE; the old one stops working immediately. Setting active: true also resets the consecutive-failure counter.
Queues one ping delivery to this webhook regardless of its subscriptions. Poll GET /webhooks/deliveries/{delivery_id} for the outcome (status, response code, error).
Parameter
In
Type
Description
id*
path
integer
Webhook id
* required
Response 202
Queued.
Response shape — placeholder values, not real data
“My listings” belongs to a person. One login, once, and it is the same account through every door.
Your API key identifies your CRM and your brokerage. It is the right identity for the market feeds, for your own inventory, and for everything your system does on behalf of the company. It is the wrong identity for the word "my".
"My listings", "my buyers", "my matches", "my Copilot" belong to a *person*. So a person has to say so. An agent link is one of your CRM users connecting their own iMatch account, once, by signing in to iMatch themselves and agreeing. After that it is the same account and the same Copilot whether they arrive from your CRM, from WhatsApp, or from the iMatch app — and either side can disconnect it at any time.
Your key can never assert who somebody is. The name and phone your CRM sends us grant nothing and always will grant nothing — the name is display text, and the phone can only ever *narrow* who is allowed to finish a connection, never widen it (see phone below).
The button
Put a Connect my iMatch account button in your CRM's user settings. Pressing it runs four steps.
external_user_id is your id for that seat — one live link per id. Store link_id against it now. return_url must be on one of your allowed origins (Limits → Allowed origins), or you get 400 return_url_not_allowed; without one we simply show the agent a "you're connected" page.
scopes is what you are asking for. Leave it out and you ask for all of them. Whatever you ask for is what the agent reads on the consent screen, and it is exactly what we enforce afterwards — ask for ["profile", "listings"] and every inquiry, match and Copilot call through that link answers 403 agent_link_scope_denied. The five:
Scope
What it opens
What the agent reads
profile
always granted — a link IS a person
"See your name in iMatch, so the app knows which account it is connected to."
listings
/v1/me/listings, ?as_agent= on listing reads and writes, the framed Listings screen
"See your listings — including the ones you have not published."
inquiries
/v1/me/inquiries, ?as_agent= on inquiry reads and writes
"See the buyer inquiries you have posted."
matches
/v1/me/matches, the framed My-matches screen
"See your matches, and the people on the other side of them."
copilot
/v1/copilot/chat and the framed Copilot, as them
"Talk to your Copilot as you — the same conversation you already have in iMatch and on WhatsApp."
Ask for the narrowest set you actually use: a short list is the one people agree to.
display_name and email are hints. We may show display_name on the consent screen as *your claim about who this is*. Neither is stored against the link's identity and neither is matched against an iMatch account — the identity arrives when the person logs in.
phone is a hint and a fence, and it is worth sending. It still identifies nobody and grants nothing: we cannot look an account up by it. What it does is stop the wrong person finishing the connection. An authorize_url binds whoever is signed in when it is opened — so if one gets forwarded, read over a shoulder, or left in a shared browser, somebody else can take the seat, and everything you then route to that seat goes to them. Send the number you have for that user and an iMatch account with a different verified WhatsApp number is refused with wrong_person; an account that has verified no number at all is still let through, because that is every brand-new agent on their first day. The number is never stored and never returned — we keep a one-way fingerprint for the life of the request. Send nothing and the behaviour is exactly as it was: any signed-in account may connect.
**2. Send the agent's browser to authorize_url. Not a redirect from your server, not a fetch: their browser, because they are about to sign in. The token in that URL is single-use and worth half an hour**, and it is never returned again. Do not store it, do not log it, do not email it.
3. They sign in to iMatch and agree. We ask them in plain words: this app wants to see your listings, inquiries and matches, act as you in the tools, and talk to your Copilot; it cannot change your account or see your password; you can disconnect any time. They press Connect or Cancel.
4. We send them back to your return_url with ?link=ok&link_id=3041, or ?link=cancelled. You can also just wait for the agent_link.connected webhook.
If something is wrong we say exactly what, on the screen and in the API:
Code
What happened
link_expired
More than half an hour passed. Press the button again.
link_cancelled
The link was already used, cancelled or revoked.
already_linked_elsewhere
That iMatch account is already connected to a different user of yours.
seat_already_linked
That external_user_id already has a live link.
wrong_brokerage
The agent's brokerage is not yours (see below).
wrong_person
You sent a phone and the account signing in has a different verified number. Start the connection again from that user's own seat.
agent_link_scope_denied
The link is fine, but the person did not agree to what this call needs. Ask for that scope when you start the link.
The brokerage rule
A link may only be created when the agent's own brokerage is your brokerage. A Chelsea agent cannot connect to the Luxehomes key, however the link was started. The one exception is an independent agent — someone who belongs to no brokerage in iMatch: their data is their own, so they may connect to any partner that invites them. iMatch staff accounts can never be linked; they are not agents.
Using a link
Add ?as_agent=<link_id> to any /v1 call — or send the header X-Connect-Agent: <link_id>, which is identical. The call then runs with that person's own identity, so ownership-aware reads return their rows.
Three convenience endpoints exist so you do not have to hand-roll the filters:
Endpoint
Returns
GET /v1/me/listings
that person's own listings
GET /v1/me/inquiries
that person's own buyer requirements
GET /v1/me/matches
matches where either side is theirs
They take every filter and page parameter their brokerage-wide siblings take, and they requireas_agent — an endpoint that answers for one person must know which person, and it will never quietly fall back to the whole brokerage (400 agent_link_required).
**Without as_agent, nothing changes.** /v1/listings, /v1/inquiries, /v1/matches and every other endpoint behave exactly as they always have: brokerage-wide.
**A malformed as_agent is refused, not ignored.** ?as_agent=undefined — the classic templating slip — answers 403 agent_link_invalid rather than quietly returning your whole brokerage under a heading that says "My listings". Send the parameter or do not; do not send a blank.
Writing as them
POST /v1/listings?as_agent=3041 and POST /v1/inquiries?as_agent=3041 stamp the row with that person's agent record, so the very next GET /v1/me/listings through the same link returns it. The row is still filed under your brokerage, with your external_id namespace and your idempotency — a link adds an owner, it does not move the row.
Two writes we refuse rather than get wrong:
the connected account has no agent record yet → 409 no_agent_record (the same answer the reads give);
the person is an independent agent (they belong to no brokerage) → 409 agent_link_write_unsupported. Every Connect row is filed under your company, so writing theirs here would quietly make their own inventory your brokerage's. Post it as your own row instead — drop as_agent, and name the agent on the payload — or have them join your brokerage in iMatch. Reading their rows through the link is unaffected.
Ownership is the agent record on the row and nothing else. A listing that merely quotes someone's phone number — a scrape, an import, a row posted before their account existed — is not theirs, and we will not call it theirs. If the connected account has no agent record yet, /v1/me/* answers 409 no_agent_record rather than an empty page, so your sync can tell "owns nothing" from "cannot own anything yet".
GET /v1/me?as_agent=3041 grows an agent block — the person's name, your own external_user_id for them, and the scopes — so you can prove to yourself that you are acting as the right seat. No phone, no email, no iMatch user id: you already know your own people.
Contacts
Unchanged. Their own rows are their own data and cost nothing. Somebody else's contact is still a metered reveal (include=contact), on their matches as much as anywhere else.
The embedded tools and the Copilot
Pass agent_link_id when you mint an embed session and the framed screens show that person's own data, and the Copilot inside the frame is their Copilot:
The agent block on the mint body stays what it always was: a display name for the poster's byline. It grants nothing. The link is what grants.
With a link, the Copilot is one thread per person, not one per conversation id: the same thread they see in the iMatch panel and on WhatsApp. Ask it "what have I got in Marina" and it answers about their inventory. It stays read-only through Connect — writes go through this API, where your external_id contract and your audit trail apply.
MCP clients get the same thing: pass as_agent to search_listings, search_inquiries or my_matches.
Disconnecting — four doors, all of them real
You, on the agent's behalf: DELETE /v1/agent-links/{link_id}. Idempotent — deleting an already-ended link answers 200 with meta.revoked: false.
The agent, in iMatch: their profile has a *Connected apps* section listing every CRM they linked, with Disconnect.
Their brokerage admin, in iMatch: the agent's row in the people list shows their linked apps, with Revoke.
iMatch: from the partner console, and automatically whenever your partner account is switched off or deleted.
And the one that matters most: deactivating the agent's iMatch account revokes every link they have, immediately. The next as_agent call is 403 agent_link_invalid, any open embed session refuses within a minute, and their Copilot thread is unreachable. One account, one switch — because it was only ever one account reached through different doors.
A link id is a reference, not a credential. On its own it opens nothing: authority is still your API key, and a link is only ever valid for the partner that owns it. An id that is not yours, was revoked, or whose account was deactivated is always the same answer — 403 agent_link_invalid — and never tells you which.
Webhooks
Subscribe to agent_link.connected and agent_link.revoked and you never have to poll.
revoked_by is one of agent, partner, brokerage, platform or deactivation, so you can word your own UI honestly. The first four are delivered the moment they happen. deactivation is written by the database, inside the update that switched the account off, so it is announced by our five-minute sweep instead — the ACCESS ends immediately either way; only the notification waits. There is no phone and no email in the payload — you already know your own user.
In the sandbox
A test key gets a sandbox link. It behaves the same from your side — start, an authorize_url, a link_id, as_agent, the three /v1/me/* endpoints — but it binds a synthetic agent, never a person. A sandbox key cannot connect a real iMatch account, and if a real person opens a sandbox authorize URL nothing about them is stored. GET /v1/me/listings under a sandbox link returns the rows that key itself sent, which is the only honest meaning of "mine" in a sandbox. Sandbox link ids are negative (-501), so they can never be confused with a live one.
Endpoints
post/agent-links/start
Ask one of your users to connect their iMatch account
any active key
Call this from YOUR SERVER when the agent presses “Connect my iMatch account”. Store link_id against that seat and send the agent's BROWSER to authorize_url. They sign in to iMatch as themselves and agree, and we send them back to your return_url with ?link=ok&link_id=… (or ?link=cancelled). The token inside authorize_url is single-use, worth half an hour, and is never returned again — it is not a credential to keep. email is a hint for the consent screen: never stored, never matched against an iMatch account. phone is a hint AND a fence — still never stored (we keep a one-way fingerprint for the life of the request) and still able to find nobody, but an iMatch account signing in with a DIFFERENT verified WhatsApp number is refused, so a forwarded authorize_url cannot bind the wrong person to the seat. A TEST key gets a SANDBOX link that binds a synthetic agent — a sandbox key can never connect a real person.
{
"type": "object",
"properties": {
"external_user_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "YOUR id for the CRM user being connected. One live link per id."
},
"return_url": {
"description": "Where we send the browser after the agent connects or cancels (we append `?link=ok&link_id=…` or `?link=cancelled`). Must be on one of your allowed origins.",
"type": "string",
"maxLength": 2000,
"format": "uri"
},
"display_name": {
"description": "How that user is named in your CRM. Shown on the consent screen as your claim — it is never taken as identity.",
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"email": {
"description": "Hint only. Never stored, never matched against an iMatch account.",
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
]
},
"phone": {
"description": "Optional fence, and the one thing worth sending. The number you believe this user has. It still finds nobody and grants nothing — but if the iMatch account that signs in has a DIFFERENT verified WhatsApp number, the connection is refused (`wrong_person`), which is what stops a forwarded authorize_url binding the wrong person to this seat. Never stored and never returned: we keep a one-way fingerprint for the life of the request. Omit it and any signed-in account may complete the link.",
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"scopes": {
"description": "What to ask for. Default: all of them. Shown to the agent in plain words before they agree.",
"minItems": 1,
"type": "array",
"items": {
"type": "string",
"enum": [
"profile",
"listings",
"inquiries",
"matches",
"copilot"
]
}
}
},
"required": [
"external_user_id"
]
}
Response 201
Link started.
Response shape — placeholder values, not real data
Ends the link on the agent's behalf (revoked_by: partner). Idempotent: a link that was already ended answers 200 with meta.revoked: false. The agent can also disconnect it in iMatch, their brokerage admin can revoke it, and deactivating their iMatch account revokes it automatically.
Parameter
In
Type
Description
id*
path
integer
Link id
* required
Response 200
Ended (or already ended).
Response shape — placeholder values, not real data
The same search as /listings, narrowed to the person named by as_agent. Requires the link: an endpoint that answers for ONE person must know which person, and it will never fall back to the brokerage. Ownership is the agent link on the row — a listing that merely quotes their phone number is not theirs. Unlike /listings, this returns their rows in ANY state, including the ones they have NOT published (Unlisted, Sold) — that is what the consent screen promises them. Read live_status on each row to filter. Under a TEST key this returns the rows that key itself sent.
Parameter
In
Type
Description
as_agent
query
integer
Act as the person behind this agent link, so ownership-aware reads return THEIR rows and the Copilot is theirs. The header X-Connect-Agent is accepted instead. A link id that is not yours, was revoked, whose iMatch account was deactivated, whose brokerage is no longer yours, or that is not a plain integer → 403 agent_link_invalid. A link the person granted narrower scopes than this call needs → 403 agent_link_scope_denied.
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
q
query
string
Free text over reference, project, community, area, description
purpose
query
string
Sale | Rent
property_type
query
string
area
query
string
community
query
string
project
query
string
Contains-search on the listing's own project text (Oasis also finds Oasis Two). For one exact project use project_id
project_id
query
integer
Exact: only listings whose project_id is this /projects id — the same confident match that fills project_id on each row. Combines with every other filter; an id no listing resolves to answers an empty page
developer
query
string
bedrooms
query
string
studio | 1 | 2 | … (exact); 5+ means five or more
bathrooms
query
integer
min_price
query
number
max_price
query
number
min_sqft
query
number
max_sqft
query
number
furnished
query
string
completion_status
query
string
Ready | Off-Plan
category
query
string
Normal | Distress — only honoured with distress_read
source
query
string
updated_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
created_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
The same search as /inquiries, narrowed to the person named by as_agent. Requires the link. Returns their inquiries in ANY state, including closed ones — read live_status on each row to filter.
Parameter
In
Type
Description
as_agent
query
integer
Act as the person behind this agent link, so ownership-aware reads return THEIR rows and the Copilot is theirs. The header X-Connect-Agent is accepted instead. A link id that is not yours, was revoked, whose iMatch account was deactivated, whose brokerage is no longer yours, or that is not a plain integer → 403 agent_link_invalid. A link the person granted narrower scopes than this call needs → 403 agent_link_scope_denied.
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
q
query
string
Free text over reference, location, project, requirements
purpose
query
string
location
query
string
Matches location_wanted / preferred_communities
project
query
string
property_type
query
string
bedrooms
query
string
min_budget
query
number
max_budget
query
number
updated_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
created_since
query
string
ISO 8601 date or date-time, e.g. 2026-09-01T00:00:00Z
Matches where EITHER side is theirs. The other party's contact is still a metered reveal (include=contact); their own side's number is free — it is their own. Requires the link. Exact matches only unless you send include=nearby, as on GET /matches.
Parameter
In
Type
Description
as_agent
query
integer
Act as the person behind this agent link, so ownership-aware reads return THEIR rows and the Copilot is theirs. The header X-Connect-Agent is accepted instead. A link id that is not yours, was revoked, whose iMatch account was deactivated, whose brokerage is no longer yours, or that is not a plain integer → 403 agent_link_invalid. A link the person granted narrower scopes than this call needs → 403 agent_link_scope_denied.
page
query
integer
1-based page, default 1
per_page
query
integer
1–100, default 25
since
query
string
Only matches created at/after this instant
status
query
string
side
query
listing | inquiry
Which side of the match is yours
listing_id
query
integer
inquiry_id
query
integer
min_score
query
number
include
query
string
Comma-separated extras. contact adds the other party's agent.phone (charged as a reveal). nearby adds NEARBY matches (the right area, not the exact building) — left out unless you ask; each match says which it is in kind.
Response 200
Their matches.
Response shape — placeholder values, not real data
Our offer, poster and Copilot tools inside your CRM.
Six iMatch surfaces can run inside your own CRM, in an iframe, with your agent already signed in. Three creators — the sales offer creator, the poster creator, and the Copilot chat — and three screens — Listings (market search), Projects (the Dubai catalogue) and My matches (who iMatch paired with your listings and inquiries). Your users never leave your page; the documents they make are stored and shared exactly as they would be inside iMatch, and the screens show exactly what the /listings, /projects and /matches endpoints answer — or, when the session carries an agent link, what that one person's /v1/me/matches answers — so a CRM can be fully connected with nothing to build on your side.
offer and poster need the tools_embed feature; copilot needs copilot. The screens need the read switch of what they show: listings needs listings_read, projects needs projects_read, matches needs matches_read — the same switches the matching endpoints need.
How it fits together
Your server asks iMatch for a short-lived embed token, using your API key.
Your page loads our small script and mounts the tool with that token.
The tool runs in an iframe on https://app.imatch.ae/embed/v1/…; your page hears about what happens through postMessage events.
The API key stays on your server. Only the token — good for at most one hour and only for the tools it names — reaches the browser.
1. Allowed origins
Before anything can be framed, iMatch must know which of your pages may do the framing. Give us the exact origins (https://crm.example.com, https://app.example.com:8443 — scheme and host, no path) and we list them on your account. The embed pages answer with a Content-Security-Policy: frame-ancestors header that names those origins and nothing else, so nobody can frame your session from a page you did not approve. With no origins listed, POST /embed/sessions refuses with no_allowed_origins.
tools — which of offer, poster, copilot, listings, projects, matches this token may open. A request naming several kinds must have every feature.
agent — who is driving. name is printed on what they create; phone ties the work to that agent in iMatch. Optional but recommended.
listing — pre-select a listing by your external_id (must be one of yours), by iMatch id, or hand the listing over inline (a listing that lives only in your CRM — see the next section).
ttl_sec — up to 3600. Mint a new token when the page reloads; there is no refresh. Keep expires_at on your side: before it passes, mint again and hand the frame the new token with setToken() (below) — or reload the page with a fresh one. An expired token is not something the frame can tell you about (see the events).
2b. Inline listings — a listing that lives only in your CRM
You do not have to send a listing to iMatch to make an offer or a poster for it. Mint the session with listing.inline and the tools open on the details you hand over:
The response is the same token / expires_at / embed_base as above; mount the tool exactly as in step 3 and leave the listing option out — the token already names the listing.
external_id (required, ≤ 80) is your id. It is printed as the reference on the offer and the poster, and everything the agent saves comes back to you as created.reference_no with that exact value — so the artefact keys straight back to your record.
title or description (≤ 4000) — at least one. The other fields are optional and use the same names and values as POST /listings: purpose (Sale \| Rent), property_type, area, community, project, developer, bedrooms (0 = Studio), bathrooms, bua_sqft, plot_sqft, selling_price, rent_price (AED per year), currency (only AED today), furnished, completion_status, handover_date, payment_plan, view, floor, permit_number, agent (name, phone, brokerage — printed on the poster).
photos — up to 20 { url, kind? }, https only, on a host we can reach from the internet. We fetch each photo at render time, when the agent's tool needs it, with a 10-second limit and a 15 MB cap per image; a URL that points at a private or internal address is refused when you mint (validation_error), and one that resolves to a private address is refused at fetch time (the poster or offer then simply renders without that photo). The first floor_plan and the first master_plan land in the offer's plan slots; plain photos feed the poster's photo strip.
The whole inline block must stay under 64 KB (payload_too_large otherwise).
iMatch never stores an inline listing beyond the session hour. Nothing lands in listings, no photo bytes are kept — the details live only for the token's lifetime, in a session store, and are gone when it expires. If that store is unreachable when you mint, the call answers 503 inline_unavailable and you can retry or mint by external_id instead; we never fall back to packing the listing into the token. Inside the tool the agent sees the listing as the fixed starting point — there is no "Change listing" picker for an inline listing, because you chose it. A session opened after its details expired shows the agent "The listing details from your CRM are no longer available — reopen the tool from your CRM."
Inline listings are for the offer and poster tools. The Copilot tool ignores listing.inline — it answers about the iMatch market, not about a listing that is not in it.
3. Mount it (browser side)
<div id="imatch-offer"></div>
<script src="https://app.imatch.ae/connect/v1/connect.js"></script>
<script>
IMatchConnect.mount({
el: "#imatch-offer",
tool: "offer",
token: EMBED_TOKEN, // from step 2, injected by your server
listing: { external_id: "CRM-1001" }, // optional; overrides the token's listing
height: "auto", // grows with the content (default), or a number of px
onReady: function () { console.log("ready"); },
onCreated: function (c) { console.log(c.kind, c.url, c.reference_no, c.artifact_id); },
onError: function (e) { console.log(e.code, e.message); }
});
</script>
A screen mounts the same way — tool: "listings" — and reports picks instead of documents:
IMatchConnect.mount({
el: "#imatch-listings",
tool: "listings",
token: EMBED_TOKEN,
height: 720, // screens paginate; a fixed height scrolls inside
onSelected: function (picked) { // { kind: "listing", id, reference_no, external_id }
openOfferFor(picked.id); // e.g. mount the offer tool with listing: { id: picked.id }
}
});
The script is plain ES2017 with no dependencies, under 8 KB, served with a five-minute cache. TypeScript declarations: connect.d.ts. A complete page: example.html.
{ id } or { external_id } (or a bare id). Optional; the offer and poster tools only. Leave it out for a session minted with listing.inline — the token carries that listing.
theme
"light" (default) or "dark".
height
"auto" (default; resizes to content) or a fixed number of pixels. For the three screens prefer a fixed height (say 720) or IMatchConnect.open(): they show 30 rows a page and open details in a side sheet, and auto would make the frame as tall as the whole page of results.
onReady / onCreated / onSelected / onError
Callbacks — see the events below.
The handle has iframe, destroy(), setToken(token) (hand the frame a fresh token before the old one expires) and postMessage(data) (a free-form message to the embed). IMatchConnect.open(options) takes the same options minus el and height, adds onClose, and returns the same handle plus close(); Esc, the backdrop and the × close it.
Events (from the iframe to your page)
Every message the embed posts has source: "imatch-connect" and a type. The SDK checks the message's origin against the embed origin before it trusts it; if you listen yourself instead of using the SDK, do the same.
type
Payload
When
ready
{ tool }
The tool has loaded and accepted the token.
resize
{ height }
The content height changed (the SDK applies it when height is "auto").
created
{ kind, url, reference_no, artifact_id }
The agent produced an offer or a poster. url is the public share link of the PDF / PNG.
Your user clicked "Use this listing / project / match" on a screen. Ids and one label only — fetch the rest through /v1, or hand id straight to the offer / poster tool as listing: { id }. external_id is your own id when the listing is one you created; null on market rows.
error
{ code, message }
A save failed (save_failed) — the offer or poster could not be stored. This is the only error the frame can report.
**What onError cannot tell you.** A rejected, expired or missing token never produces an event: the embed page answers such a request with Content-Security-Policy: frame-ancestors 'none', so the browser refuses to render the frame at all and nothing inside it ever runs. The same is true of a page framed from an origin you have not listed. Detect expiry yourself from the session's expires_at and re-mint before it passes; a frame that stays blank is a token or origin problem, not a save failure.
Messages from your page to the embed: { source: "imatch-connect", type: "set-token", token } and { source: "imatch-connect", type: "host", data } — the handle's setToken() and postMessage() send these for you.
What the embedded tools do
Offer — builds a sales offer for a listing (yours, any live listing the agent picks in the embed, or an inline listing from your CRM) and produces a PDF plus a share link.
Poster — builds a marketing poster for a listing (the same three sources) and produces a PNG plus a share link.
Copilot — the iMatch Copilot chat, read-only, bound to your partner account: it searches and explains listings, projects, areas and market data, and draws cards and charts. It does not read inquiries or matches from inside the frame (those are GET /v1/inquiries and GET /v1/matches), does not produce reports, and cannot change records.
Offers and posters created in the embed are attributed to your partner account; iMatch keeps an audit row for every Copilot tool call made under your key.
The three screens
Each screen is the matching endpoint with a face on it — same query, same rules, same fields:
Listings (tool: "listings", needs listings_read) — market search with the same filters as GET /v1/listings (keyword, area, purpose, type, bedrooms, price band, sort), 30 a page, and a detail sheet with photos and every field the endpoint returns. Your allowed_sources apply; distress deals and their economics show only with distress_read; the listing's agent is named but not reachable until Reveal contact (below). "Use this listing" posts selected with the iMatch id (and your external_id when the listing is yours). You can pre-fill the form from the URL: ?q=&area=&purpose=&property_type=&bedrooms= on the frame's src (the SDK does not add these — append them to the mounted iframe's src or open the page yourself).
Projects (tool: "projects", needs projects_read) — the Dubai catalogue with the GET /v1/projects filters (name or alias, developer, area, status, price band, sort) and a detail sheet: gallery, payment plan, amenities, floor plans, masterplan and documents. The developer's unit-by-unit list appears only with units_read; without it the sheet says so in one line. "Use this project" posts selected { kind: "project", id, name }.
My matches (tool: "matches", needs matches_read) — the pairings iMatch made, grouped into "For my listings" (a buyer's requirement matched one of yours) and "For my inquiries" (a market listing matched a requirement you posted). Each row shows the other side with the score and the reason, the match status, Reveal contact, and "Use this match" (selected { kind: "match", id, listing_id, inquiry_id }). An empty screen says how matches arrive: list a property or post an inquiry and iMatch pairs it with the market.
Whose matches, exactly. A plain session is the brokerage's: GET /v1/matches, every pairing stamped with your company, and the screen is headed "Brokerage matches". Mint the session with agent_link_id (see Agent links) and it becomes that one person's — GET /v1/me/matches, their own listings' and inquiries' pairings and nobody else's — headed "My matches". If the linked account has not finished setting up its iMatch profile it owns no rows at all, and the screen says so in a plain line instead of showing an empty list (409 no_agent_record, the same answer /v1/me/* gives).
Reveal contact and your budget
A phone number is the one thing a partner pays for. On the Listings and My-matches screens the other party's agent is named — brokerage and all — but the number appears only when your user clicks Reveal contact. That click is a reveal in exactly the sense include=contact is on the API: it is written to the same ledger, a contact revealed in the last 30 days is free again, your own rows are never charged, a row with no phone on file costs nothing, and it counts against the same monthly ceiling (reveal_quota_month) as your API calls. When the ceiling is reached the screen says "Reveal budget reached — N of M used this month" and shows no number; nothing is written. There is no way to see a phone through a screen without a reveal, and no way for a screen to spend reveals your API could not.
Mobile apps (iOS / Android)
The same pages run inside your app in a web view. No SDK and no iframe: open https://app.imatch.ae/embed/v1/<tool>?token=… top-level — the token is the whole gate (frame-ancestors only concerns iframes), and your server mints it exactly as it does for the web (POST /embed/sessions, your API key never in the app). Watch expires_at and re-mint before it passes; hand the page the new token by evaluating window.IMatchConnectEmbed.setToken("<token>") in the web view.
Every event above is delivered to a native handler when one is present, as the same object serialised to a JSON string: { "source": "imatch-connect", "type": "selected", "kind": "listing", "id": 88123, … }.
iOS — a WKScriptMessageHandler named imatch:
import WebKit
final class IMatchEmbedView: UIViewController, WKScriptMessageHandler {
private var webView: WKWebView!
override func viewDidLoad() {
super.viewDidLoad()
let config = WKWebViewConfiguration()
config.userContentController.add(self, name: "imatch") // window.webkit.messageHandlers.imatch
webView = WKWebView(frame: view.bounds, configuration: config)
view.addSubview(webView)
let token = "…" // minted by YOUR server: POST /embed/sessions
webView.load(URLRequest(url: URL(string: "https://app.imatch.ae/embed/v1/listings?token=\(token)")!))
}
func userContentController(_ controller: WKUserContentController, didReceive message: WKScriptMessage) {
guard message.name == "imatch", let json = message.body as? String,
let data = json.data(using: .utf8),
let event = try? JSONSerialization.jsonObject(with: data) as? [String: Any] else { return }
switch event["type"] as? String {
case "selected": print("picked", event["kind"] ?? "", event["id"] ?? "")
case "created": print("document", event["url"] ?? "")
default: break
}
}
func refresh(token: String) { // before expires_at
webView.evaluateJavaScript("window.IMatchConnectEmbed.setToken(\"\(token)\")")
}
}
Android — a @JavascriptInterface object registered as IMatchAndroid:
class IMatchBridge(private val onEvent: (JSONObject) -> Unit) {
@JavascriptInterface
fun onMessage(json: String) = onEvent(JSONObject(json)) // window.IMatchAndroid.onMessage
}
webView.settings.javaScriptEnabled = true
webView.addJavascriptInterface(IMatchBridge { event ->
when (event.getString("type")) {
"selected" -> Log.d("imatch", "picked ${event.getString("kind")} #${event.getLong("id")}")
"created" -> Log.d("imatch", "document ${event.getString("url")}")
}
}, "IMatchAndroid")
val token = "…" // minted by YOUR server: POST /embed/sessions
webView.loadUrl("https://app.imatch.ae/embed/v1/listings?token=$token")
// before expires_at:
webView.evaluateJavascript("window.IMatchConnectEmbed.setToken(\"$newToken\")", null)
resize events arrive too; a web view sized by its layout can ignore them. The iMatch apps themselves do not host these pages — this is for your app.
Endpoints
post/embed/sessions
Mint an embed token for our tools and screens
any active key
Call this from YOUR SERVER with your API key and hand the returned token to the browser — the key itself never reaches a page. tools names what the token may open: the creators offer and poster (feature tools_embed) and copilot (feature copilot), and the screens listings (listings_read), projects (projects_read) and matches (matches_read) — the same read switches the matching /listings, /projects and /matches endpoints need; a request naming several kinds must pass every switch. The partner must have at least one allowed origin (Limits → Allowed origins in iMatch Connect) or the call is refused with no_allowed_origins. Open <embed_base>/<tool>?token=<token> in an iframe on one of those origins, or use the SDK (/connect/v1/connect.js). Tokens live at most one hour; mint a new one when the page reloads. listing.inline opens the offer / poster tools on a listing that exists only in your CRM (never sent to /listings): its details are kept for the session only (never beyond the hour, never in listings), photos are fetched from your https URLs at render time, and what the agent saves carries your external_id as its reference. The Copilot tool ignores it. See Embeds & SDK → Inline listings. agent_link_id opens the session AS a linked person: the screens show their own data and the Copilot is theirs, continuing the same thread they see in the iMatch app and on WhatsApp. The agent block stays display-only either way — a name your CRM sends is not a login. See Agent links.
Request body
Which tools, optionally who is driving them and which listing to open — by reference, or inline.
503listing.inline cannot be held right now — the session store is unreachable (inline_unavailable). Retry, or mint by external_id.
Copilot API
The iMatch Copilot as a chat endpoint, read-only, in your identity.
The iMatch Copilot is the assistant inside the iMatch app: it searches listings, buyer demand, projects, areas and market data, and explains what it finds in plain language. POST /copilot/chat gives you the same brain as an endpoint, running as your partner account with your feature switches. Needs the copilot feature.
Through this API the Copilot is read-only. It can find and explain; it cannot create or change records, send messages, or read account profiles. To write, use the REST endpoints or the MCP write tools, where your external_id contract applies.
conversation_id — 8–64 characters (letters, digits, _, -). Omit it to start a conversation and receive the id we minted; pass your own to key the thread yourself (your CRM ticket id works well). An unknown or expired id simply starts fresh.
context — what the user is looking at in your CRM: listing_id or one of your external_ids. It is prompt context only — it does not filter results and it grants nothing.
reply is plain text, no markdown. actions lists the records the answer is about, each with its REST URL, so you can link them in your UI. usage reports tool calls and replayed history, not tokens.
Conversations are kept for 24 hours
A conversation lives for 24 hours from its last message, keyed by your partner account and the conversation_id. Within that window each turn sees the earlier turns; after it, the same id starts a new conversation. Nothing about a conversation is stored beyond that — if you need a transcript, keep it on your side.
Streaming
POST /copilot/chat/stream takes the same body and answers with text/event-stream:
: keepalive
event: action
data: {"type":"listing","ref":"IM12345","url":"https://app.imatch.ae/api/v1/listings/88123","tool":"search_listings"}
event: token
data: {"text":"Three two-bedroom apartments in Dubai Marina are listed under AED 2.5M right now."}
event: done
data: {"conversation_id":"crm-thread-42","reply":"…","actions":[…],"usage":{…}}
: keepalive comments arrive every 10 seconds while tools run, so a proxy does not cut the connection.
action frames come one per record; token frames carry the reply in sentence-sized pieces; done carries the complete object /copilot/chat would have returned; error carries { code, message } and closes the stream.
Today the brain composes its answer in one piece, so the token frames arrive together at the end of the turn. The stream's value right now is the keepalive during tool use; when the brain streams tokens the frames become progressive with no change to the contract.
A bad body is an ordinary 400 JSON envelope, not a stream.
Budget
A separate budget of 30 messages per minute per partner, on top of your per-key limit. Over it: rate_limited with Retry-After. A Copilot turn does not spend your write budget. iMatch keeps an audit row for every Copilot tool call made under your key.
The same Copilot, inside your CRM
If what you want is a chat window rather than an endpoint, the Copilot is also one of the embeddable tools — the same read-only brain, with the agent already signed in.
Endpoints
post/copilot/chat
Ask the iMatch Copilot (one turn)
requires copilot
Runs the same Copilot brain the iMatch panel uses, as your partner identity: it searches and explains listings, buyer inquiries, projects, areas and DLD market data across the market. It is READ-ONLY here — it cannot create or change records, send WhatsApp messages, generate files or read account profiles (write through the REST API or the MCP write tools). Conversations are kept for 24 h from the last message, keyed by your partner + conversation_id; omit the id to start one, or pass your own. actions lists the records the answer is about with their REST URLs. usage reports tool calls and replayed history, not tokens. Separate budget: 30 messages per minute per partner (rate_limited with Retry-After).
Request body
The message, optionally the conversation to continue and what the user is looking at.
POST https://app.imatch.ae/api/v1/copilot/chat
Content-Type: application/json
{
"conversation_id": "crm-thread-42",
"message": "Any two-bed under 2.5M in Dubai Marina?",
"context": {
"external_id": "CRM-9"
}
}
Schema
{
"type": "object",
"properties": {
"conversation_id": {
"description": "Continue a conversation. Omit to start one (we mint an id); pass your own id to key the thread yourself. Unknown or expired (24 h idle) ids start fresh.",
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,64}$"
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "The user's message"
},
"context": {
"description": "What the user is looking at in your CRM. Prompt context only — never consent, never a filter.",
"type": "object",
"properties": {
"listing_id": {
"description": "iMatch listing id the user is looking at",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"external_id": {
"description": "Your own listing id (one of yours)",
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
}
},
"required": [
"message"
]
}
Response 200
The reply.
Response shape — placeholder values, not real data
500The AI backend failed (internal_error). Retry once; the conversation is unaffected.
post/copilot/chat/stream
Ask the iMatch Copilot — Server-Sent Events
requires copilot
Same request and same brain as /copilot/chat, delivered as text/event-stream. Frames: : keepalive comments every 10 s while tools run; event: action (one per record the answer is about); event: token ({ text }, sentence-sized pieces of the reply); event: done (the full /copilot/chat data object); event: error ({ code, message }). Today the brain answers in one piece, so token frames arrive together at the end of the turn — the stream's value is the keepalive during tool use; when the brain streams tokens the frames become progressive without a contract change. A bad body is a normal 400 envelope, not a stream.
Request body
Same as /copilot/chat.
POST https://app.imatch.ae/api/v1/copilot/chat/stream
Content-Type: application/json
{
"conversation_id": "crm-thread-42",
"message": "And which of those has a sea view?"
}
Schema
{
"type": "object",
"properties": {
"conversation_id": {
"description": "Continue a conversation. Omit to start one (we mint an id); pass your own id to key the thread yourself. Unknown or expired (24 h idle) ids start fresh.",
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,64}$"
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "The user's message"
},
"context": {
"description": "What the user is looking at in your CRM. Prompt context only — never consent, never a filter.",
"type": "object",
"properties": {
"listing_id": {
"description": "iMatch listing id the user is looking at",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"external_id": {
"description": "Your own listing id (one of yours)",
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
}
},
"required": [
"message"
]
}
Plug the API into Claude, Cursor and other MCP clients.
iMatch Connect is also an MCP server, so an AI client — Claude, Cursor, or anything else that speaks the Model Context Protocol — can search the market, read your matches and push records by talking to the same API you would call by hand.
POST https://api.imatch.ae/mcp
Authorization: Bearer imc_live_YOUR_KEY
(https://app.imatch.ae/api/v1/mcp is the same endpoint on the panel host and stays valid; the front door is the address to configure.)
Transport is Streamable HTTP with plain JSON responses (there is no server-initiated stream; GET answers 405 with a hint, DELETE is a no-op — every call is self-contained). Protocol version 2025-06-18. Methods: initialize, notifications/initialized, ping, tools/list, tools/call; batches (a JSON array of messages) are accepted, up to 20 messages per request (-32600 above that). Every message in a batch counts as one request against your per-minute limit and daily quota — once either is spent, that message and the rest of the batch answer -32004 (rate_limited / quota_exceeded) without running.
Tools
Every tool runs the same code as the REST route it mirrors and needs the same feature switch. Its input schema is published by tools/list, generated from the same validation the REST route uses. A result carries the REST envelope twice: as compact JSON text in content[0].text and as structuredContent ({ data, meta }). A tool that reaches a feature you do not have is JSON-RPC error -32003 (feature_disabled); a tool-level refusal the model should reason about — not_found, a reveal quota — comes back as a normal result with isError: true.
Tool
Needs
What it does
search_listings
listings_read
Search live property listings across the whole Dubai market (sale and rent). Filters: free text, purpose, property type, area / community / project / developer, bedrooms, price and size ranges, furnishing, completion status, updated_since. Paginated (per_page ≤ 100). Photos are included as URLs. Pass `as_agent` to search ONE linked person's own listings instead of the market.
get_listing
listings_read
One listing by iMatch id, or one of YOUR listings by your own external_id.
search_inquiries
inquiries_read
Search live buyer / tenant inquiries (demand) across the market: purpose, location, project, property type, bedrooms, budget range, updated_since. Paginated. Pass `as_agent` to read ONE linked person's own inquiries instead of the market.
get_inquiry
inquiries_read
One inquiry by iMatch id, or one of YOUR inquiries by your own external_id.
search_projects
projects_read
Dubai off-plan / ready development projects: name or alias, developer, area, district, type, status, completion status, price range. Paginated. With q the best match comes first (sort relevance, the default: every word of q in the name, an alias, the place or the developer); or sort by name, min_price or expected_completion_date.
get_project
projects_read
Full detail of one project (amenities, payment plan, gallery, floor plans, documents, aliases). include_units adds the developer's current unit list and needs the units_read feature.
list_areas
areas_read
Every active Dubai area with its aliases (the location vocabulary listings and inquiries are resolved against). include_communities adds the community → parent-area hierarchy.
search_locations
areas_read
Search the locations tree — every place in the UAE, city → region → area → community → sub-community → cluster → building — by name, alias or abbreviation (`JVC`), best first, Dubai first. Each place carries its breadcrumb (the places it sits in). Filters: level (e.g. `area,community`), under (a place id).
get_location
areas_read
One place of the locations tree by id: the place with its aliases (every field we hold, with locations_refs), the places it sits in, and the first page of the places directly inside it. A merged id answers as the place it was merged into (meta.merged_from).
resolve_location
areas_read
Where iMatch would place a listing with this area / community / project text — the same reading a listing push makes (exact names, aliases and catalogue projects, Dubai first, never a fuzzy guess). Answers status (resolved | ambiguous | unresolved), the place, how many places the text could mean, and which fields point somewhere else. within = only look inside that place id.
get_location_by_ref
locations_refs
Our place for an OUTSIDE location id — a Bayut location id, a DLD area / master project / project / building id, or an older iMatch list's id (legacy_area / legacy_community / legacy_project) — with every field we hold.
my_matches
matches_read
Matches on YOUR OWN listings and inquiries (the buyer found for your listing, the listing found for your buyer). Filters: since, status, side (listing | inquiry), listing_id, inquiry_id, min_score. `mine` says which side is yours; include_contact reveals the OTHER party's phone (a reveal). EXACT matches only unless include_nearby is true; every match carries `kind` (exact | nearby). Pass `as_agent` for ONE linked person's own matches rather than the whole brokerage's.
create_listingwrite
listings_write
Create or update ONE of your listings (upsert on external_id — re-sending the same external_id updates the row). Needs external_id; give purpose, property_type, area and a price for a matchable row, plus bedrooms for a home (offices, shops, warehouses, plots, land and whole buildings have none — leave it out). A new Active listing is matched against live buyer inquiries automatically. A SALE under AED 300,000 is saved Unlisted with a sale_price_below_floor warning — it is almost always a rental; send purpose Rent to publish it. Returns { external_id, id, reference_no, action, warnings }.
update_listingwrite
listings_write
Partially update one of YOUR listings by external_id. Send only the fields to change; live_status Active | Unlisted | Sold (Sold also marks status Sold). Returns the changed field names.
create_inquirywrite
inquiries_write
Create or update ONE of your buyer / tenant inquiries (upsert on external_id). Needs external_id, purpose, and location_wanted or project_wanted; budget_min/max, bedrooms_wanted and property_type_wanted make it matchable. A new Active inquiry is matched against live listings automatically.
distress_deals
distress_read
Distress deals — listings priced below their original or market price, biggest discount first. Same filters as search_listings; the discount block (original_price, market_price, discount_percent, seller_urgency, …) is always present. Always the whole market: for ONE linked person's own distress stock use search_listings with as_agent and category=distress.
list_webhooks
webhooks
Your webhook endpoints (url, subscribed events, active, consecutive failures, last delivery). Secrets are never returned.
distress_deals is listed only when your account has distress_read. Every other tool is listed regardless and refuses at call time, so the model can tell the user exactly which switch to ask iMatch for. Write tools spend your write budget (30 per minute) exactly as the REST writes do.
ChatGPT's custom connectors (Settings → Connectors → Create, developer mode) take an MCP server URL — https://api.imatch.ae/mcp — but at the time of writing that form authenticates with OAuth or with nothing, and cannot send a fixed Authorization header. Until iMatch offers OAuth for MCP, use ChatGPT through a local bridge that injects the header (mcp-remote, as in the Claude Desktop example, exposed to ChatGPT), or use one of the clients above.
Each tools/call is logged as one request against your account (as /api/v1/mcp#<tool>), so your usage figures count what the AI actually did, not how many HTTP envelopes it used.
Endpoints
post/mcp
MCP server — JSON-RPC 2.0 over Streamable HTTP (for Claude, ChatGPT, Cursor, …)
any active key
Model Context Protocol, protocol version 2025-06-18. Methods: initialize, notifications/initialized, ping, tools/list, tools/call; batch arrays are accepted (at most 20 messages; every message counts as one request against the key's limit and daily quota — once spent, the rest of the batch answers -32004). Responses are plain JSON (no server-initiated stream). Each tool runs the SAME code as the REST route it mirrors and needs the same feature switch — a missing switch is JSON-RPC error -32003 (feature_disabled). Tools: search_listings (listings_read), get_listing (listings_read), search_inquiries (inquiries_read), get_inquiry (inquiries_read), search_projects (projects_read), get_project (projects_read), list_areas (areas_read), search_locations (areas_read), get_location (areas_read), resolve_location (areas_read), get_location_by_ref (locations_refs), my_matches (matches_read), create_listing (listings_write), update_listing (listings_write), create_inquiry (inquiries_write), distress_deals (distress_read), list_webhooks (webhooks). Configure a client with this URL and Authorization: Bearer imc_live_…, e.g. claude mcp add --transport http imatch https://api.imatch.ae/mcp --header "Authorization: Bearer <key>".
Request body
A JSON-RPC 2.0 request, notification, or an array of them.
JSON-RPC response (or array). Tool results carry content[0].text (compact JSON) and structuredContent ({ data, meta }, the REST envelope); isError: true marks a tool-level refusal such as not_found.
Response shape — placeholder values, not real data
Test keys: real reads, simulated writes, masked contacts, synthetic events. Zero risk.
A test key lets you build and exercise your whole integration against the real API with zero risk to real people. It starts with imc_test_ instead of imc_live_, is issued the same way (ask iMatch — the console mints either), and works on every endpoint in this document. Every response to a test key carries "sandbox": true in meta, so a log line can never leave you guessing which key made a call.
The rule, in one line: reads are real, writes are simulated, contacts are masked, events are synthetic. Nothing a test key does can reach an iMatch user.
What is real
Everything you read. Listings, inquiries, projects, distress deals, areas, the change feed — a test key sees the same market a live key sees, through the same filters, with the same pagination. Your integration's search, mapping and sync code runs against production data from day one.
What is simulated
Every write. POST /v1/listings, POST /v1/inquiries, PATCH and DELETE on by-external, POST …/by-external/{external_id}/renew, and the photo endpoints all validate your body exactly as live — the same schema, the same 400 with the same details — and answer in the live shape: the same results[], the same action (created, updated, noop, unlisted), the same warnings about an unknown area or a missing agent phone. Two things differ, on purpose:
**ids are negative and references start with SBX-** — { "id": -1001, "reference_no": "SBX-1" } — so a sandbox row can never be confused with a real one, and a live key pointed at a sandbox id gets a clean 400;
nothing is written to iMatch. No listing, no inquiry, no agent record, no photo, no feed event. Nothing is matched, nobody is notified. meta.sandbox_note says so on every write.
To make your sync loop testable, the API remembers your sandbox rows for 24 hours, visible only to the test key that made them: GET /v1/listings/by-external/{id}, GET /v1/listings?external_id=, GET /v1/listings/{id} (with the negative id), PATCH, DELETE and GET /v1/changes all see them. Re-send an identical row and you get noop; change a field and you get updated; delete and you get unlisted (state: "paused"); renew and you get renewed, with the same rule and refusals as live. This is an illusion of persistence and we say so plainly — the rows exist for 24 h, only to your test key, and up to 500 per key. Photos are validated and counted, never fetched and never stored; the URLs returned for them resolve to nothing. PUT …/photos works on your sandbox rows too and applies the same rules by url — kept, added, removed, a repeated url refused — but because nothing is fetched it cannot match by image content.
What is masked
include=contact still works, and agent.phone is still present — so your CRM's field mapping can be tested — but the number is masked: +9715••••••67 (the country code, the first subscriber digit and the last two digits survive). No reveal is charged, no reveal is recorded, and meta.sandbox_note reads contacts are masked in sandbox. The same applies to the MCP tools' include_contact and to the Copilot endpoints, where a partner never sees a contact in either mode.
Webhooks in the sandbox
A webhook you register with a test key is a test webhook. It is a separate list from your live webhooks (a test key lists, edits and deletes only test endpoints; a live key only live ones — ten of each), and it receives exactly two kinds of delivery:
the ping from POST /v1/webhooks/{id}/test;
synthetic events you ask for with POST /v1/sandbox/events.
The payload is built with the same serializers a live event uses — from your own sandbox rows when you have any (the listing you just POSTed shows up in its own listing.created), else from a canned sample — and it is signed and delivered by the same worker as a live event, with one extra request header: X-Connect-Mode: test. Listing and inquiry samples carry reason: "partner" and your slug as actor, like the echo of your own write — send "sample": { "reason": "expiry", "actor": "system:auto-unlist" } to rehearse a take-down. location.updated announces one real place (Dubai Marina, id 46) as updated, in your own tree scope. project.updated carries one real live project — the most recently changed one, exactly as GET /projects/{id} returns it, with real file links — as updated with changed_fields: ["payment_plan", "gallery"] (a complete canned project with placeholder links if none can be read); it needs projects_read like the live event. To rehearse a price that comes from the developer's price list (see Projects, "Prices"), shape it with sample, e.g. "sample": { "project": { "min_price_aed": 980000, "min_price_source": "inventory", "presentation": { "price_per_sqft_min_aed": 1650, "price_per_sqft_max_aed": 2100, "price_per_sqft_source": "inventory" } } }. unit.updated carries one real listed unit — the most recently changed one, as one row of GET /units — with changed_fields: ["price_aed", "price_per_sqft"], and developer.updated one real listed developer — the most recently changed one, as GET /developers/{id} returns it to a test key (phone and email masked) — with changed_fields: ["about", "website", "profile_updated_at"] (each falls back to a complete canned record if none can be read); they need units_read / developers_read. suggestion.updated is different on purpose: it decides one of your own sandbox suggestions — suggestion_id, else your newest, else a canned one — with sample.suggestion (status, reason, items by ref) and writes the result back to your sandbox, so GET /v1/suggestions/{id} shows the decided state; it needs suggestions_write (see Suggestions). sales_agent.updated does the same for your sandbox sales agents: sample.link (review_status, reason, pending_change) decides one of them — external_id, else your newest — the way our admin would and writes it back, so an approved agent then shows on GET /v1/sales-agents (needs sales_agents_write); with neither, it carries one of OUR agents, the most recently changed one, contacts masked (needs sales_agents_read; see Sales agents). news.created, news.updated and news.removed carry one sample news item — news_id (-1 … -5), else the event's default; news.updated edits it (sample.news: headline, detail, kind, time, event, commission_pct; without it the item is posted again today) and news.removed hides it (or deletes it with news_removal: "deleted"), and both are written back for your test key, so GET /v1/news/{id} and GET /v1/news show what the push carried (needs news_read to read them; see Developer news). For every other event, sample is deep-merged over the generated data, so you can push any field to any value to exercise your validation. The response is 202 with the delivery_ids created (one per subscribed test webhook), how many were enqueued, and the data half of the envelope exactly as your endpoint will receive it.
A real event — a real match, a real distress deal, a real status change — never reaches a test webhook, and a synthetic one never reaches a live webhook. Both sides of that rule are a predicate in the delivery SQL, not a convention. A live key calling /v1/sandbox/events gets 400 live_key.
Budgets
A test key shares your per-minute rate limit and your daily quota (a read costs us the same in either mode). It never consumes reveals, and its simulated writes spend their own flood guard — 60 per minute, separate from the live 30 — so an integration test can never eat into a production sync's allowance, or the other way round.
Embeds and the Copilot
Embed sessions minted with a test key open every tool as usual; the mint response carries meta.sandbox: true. What a user saves from inside a sandbox session ("Save to CRM") is stored under your partner — harmless, and tagged SBX- in its reference so it is never counted as a real offer or poster. The Copilot endpoints answer under a test key as they do under a live one, with meta.sandbox set and the model told it is in the sandbox.
Switching to live
When the integration is ready, ask for a live key (or mint one in the console) and change one string in your configuration: the key. Nothing else — no base URL, no headers, no endpoint — is different. Re-register your webhooks with the live key (test webhooks stay in the sandbox), and remember that a live POST /v1/listings with live_status absent creates an Active row that is matched against real buyers within minutes. That is the whole point of having tested first.
Endpoints
post/sandbox/events
Synthesise a webhook event (test keys only)
requires webhooks
Builds a realistic payload for event — from your own sandbox rows when you have any, else a canned sample — and delivers it to your TEST webhooks exactly like a live event: same envelope, same signature, same worker, plus X-Connect-Mode: test. sample is deep-merged over the generated data so you can shape it (≤ 16 KB). A live key answers 400 live_key. The event's feature gate is the live one (match.created needs matches_read, distress.created needs distress_read). suggestion.updated decides one of YOUR sandbox suggestions (suggestion_id, else your newest, else a canned one) with sample.suggestion — status, reason, items by ref — and writes the result back, so GET /suggestions/{id} shows it; it needs suggestions_write. sales_agent.updated with sample.link (and optionally external_id) decides one of YOUR sandbox agents the way our admin would — review_status, reason, pending_change — and writes it back (needs sales_agents_write); without either it carries one of OUR agents, masked, as the read side pushes it (needs sales_agents_read). news.created / news.updated / news.removed carry one sample news item — news_id (-1 … -5; default -1 / -3 / -4). news.updated edits it (sample.news: headline, detail, kind, time, event, commission_pct; without it the item is posted again today) and un-hides it; news.removed hides it (news_removal: "deleted" deletes it). Both are written back for your test key for 24 h, so GET /news/{id} and GET /news show what the push carried.
Request body
The event to synthesise, with an optional sample override.
{
"type": "object",
"properties": {
"event": {
"type": "string",
"enum": [
"match.created",
"listing.created",
"listing.updated",
"listing.unlisted",
"listing.sold",
"inquiry.created",
"inquiry.updated",
"inquiry.unlisted",
"distress.created",
"location.updated",
"project.updated",
"unit.updated",
"developer.updated",
"suggestion.updated",
"sales_agent.updated",
"news.created",
"news.updated",
"news.removed"
],
"description": "Which event to synthesise"
},
"sample": {
"description": "Optional: fields merged over the generated `data` (deep merge, ≤ 16 KB) — e.g. { listing: { selling_price: 1 } }. For suggestion.updated, `sample.suggestion` is the decision (status, reason, items by ref) and is written back to your sandbox suggestion. For sales_agent.updated, `sample.link` is our admin's decision on one of YOUR sandbox agents (review_status, reason, pending_change) and is written back. For news.updated, `sample.news` is the edit (headline, detail, kind, time, event, commission_pct) and is written to the sample for your test key.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"suggestion_id": {
"description": "suggestion.updated only: which of your sandbox suggestions to decide (a negative id). Default: your newest, else a canned one",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"external_id": {
"description": "sales_agent.updated only: which of YOUR sandbox agents (by your external_id) the event is about. Default with `sample.link`: your newest; with neither, one of OUR agents (masked) as the read side would push it",
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,40}:[0-9]{1,10}$"
},
"news_id": {
"description": "news.* only: which sample item (-1 … -5) the event is about. Default: news.created -1, news.updated -3, news.removed -4. news.updated and news.removed change that sample for your test key (24 h), so GET /news/{id} and GET /news show it",
"type": "integer",
"minimum": -9007199254740991,
"maximum": -1
},
"news_removal": {
"description": "news.removed only: `hidden` (default — the whole item with `removed_at`) or `deleted` (its three fields only)",
"type": "string",
"enum": [
"hidden",
"deleted"
]
}
},
"required": [
"event"
]
}
Response 202
Queued to every subscribed test webhook; data is what they will receive.
Response shape — placeholder values, not real data
403Partner disabled or feature not enabled (partner_disabled / feature_disabled).
404suggestion.updated: no sandbox suggestion with that suggestion_id for this key; sales_agent.updated: no sandbox agent with that external_id (or none at all) for this key; news.*: no sample with that news_id (not_found).
Every budget, what it protects, and what a 429 tells you.
Eight budgets protect the API and the brokers behind it. GET /me shows the ones set for your account.
Budget
Scope
Default
Over it
Calls per minute
per key
120 (set per partner by iMatch)
429 rate_limited
Writes per minute
per partner, POST / PATCH / DELETE only
30
429 rate_limited
Copilot messages per minute
per partner — the raw API and the embedded Copilot share it
30
429 rate_limited
Calls per day
per partner
none (optional)
429 quota_exceeded
Contact reveals per month
per partner
none (optional)
429 reveal_quota_exceeded, request refused whole
Failed authentications per minute
per client IP
60
429 rate_limited before any lookup
Embed calls per minute
per partner, everything the embedded tools fetch
the partner's calls-per-minute number
429 rate_limited
Embed saves per minute
per partner, offers + posters saved from the frame
20
429 rate_limited
An MCP batch counts as one request per message it holds (at most 20 per request).
Every 429 carries Retry-After (seconds). Where a budget applies it also carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (unix seconds). Back off for Retry-After and try again; do not retry in a tight loop.
Why writes are separate
Every listing you create that goes live is matched against the whole market, and every match alerts a real broker on their phone. A sync loop that mints fresh external_ids by mistake would turn a read allowance of 120 a minute into thousands of new listings a minute, each pinging real people. So writes have their own, smaller budget. Batch: one POST /listings with 50 items is one write.
Reveals
A reveal is a contact phone you receive with include=contact on a record that is not yours, counted once per record per 30 days. Rows without a phone on file and your own rows are never charged. Rows whose contact is withheld by source (contact_not_available_for_source) are never charged either. When a request would cross your monthly ceiling it is refused entirely, with details: { quota, used, requested } — you are never handed a response with phones quietly missing.
Good citizenship
Cache /areas and /communities (they say max-age=3600).
Use updated_since or /changes to catch up instead of re-reading everything.
Subscribe to webhooks for anything you would otherwise poll for.
One integration, one key. Ask for a second key when you have a second environment, not a second developer.
Connect any CRM in 4 steps
The generic recipe, with a runnable mirror you can copy.
iMatch Connect is generic on purpose: a bearer key, JSON over HTTPS, and a small number of ideas — upsert on your own id, a cursor feed, signed webhooks, an iframe. Any CRM with a place to run a little code can be wired in with these four steps. Everything below is what a full integration does; take what your system needs.
Step 1 — A key, and one call
Get a key from iMatch, keep it on the server, and confirm it works:
Read the features you were given — they decide which of the steps below apply — and the limits.
Step 2 — Initial pull, then mirror with /changes
Page through the endpoints you care about (/listings, /inquiries, /projects at per_page=100) into your own tables, keyed on the iMatch id. Take a /changes cursor before you start the pull, so anything that moves during it is replayed afterwards. Then poll /changes with that cursor — every minute is plenty — and for every row it names, fetch the record and upsert it. Two rules make this bulletproof: every write is an upsert on the iMatch id, and the cursor is stored exactly as given.
If you also push your own inventory, this is where it goes: POST /listings and POST /inquiries with your external_id on every item, in batches of up to 50, whenever a record changes on your side.
Step 3 — Webhooks for the moments that matter
Register an HTTPS endpoint (POST /webhooks), store the secret, verify every delivery's X-Connect-Signature, answer 2xx within 10 seconds, and apply the event. match.created is the one most CRMs want first — it is the reason to be in the network. Keep the feed from step 2 running underneath; webhooks are fast, the feed is complete.
Step 4 — Embed our tools
If your users make sales offers or posters, give them ours: mint an embed token server-side (POST /embed/sessions) and mount IMatchConnect on the listing page. The documents they create are stored and shared by iMatch; you get a created event with the URL to keep.
The whole thing, runnable
The file below does steps 1–3 in one Node process with no dependencies: initial pull with paging, a cursor persisted to disk, a webhook receiver with the signature check, and idempotent upserts into a JSON file that stands in for your database. Copy it, swap the JSON file for your tables, and you have a working mirror.
node-mirror.mjs — also at https://app.imatch.ae/connect/v1/examples/node-mirror.mjs
#!/usr/bin/env node
/**
* iMatch Connect — a minimal, complete mirror of the market in ~150 lines.
* Node 18+, no dependencies. https://imatch.ae/connect/docs#connect-any-crm
*
* What it does:
* 1. INITIAL PULL — pages through /listings and /inquiries into a local store.
* 2. STAY IN SYNC — polls /changes with a cursor persisted to disk, upserts
* what changed (ids only → fetch the row → upsert).
* 3. WEBHOOKS — an HTTP receiver that verifies X-Connect-Signature and
* applies the event immediately (the feed is the safety net).
* 4. IDEMPOTENT — every write is an upsert keyed on the iMatch id, so a
* row seen twice (webhook + feed, or the feed's 10-second
* re-read) is harmless.
*
* The "database" is a JSON file (mirror.json) so the example runs anywhere;
* replace `store` with your CRM's tables and keep the shape of the calls.
*
* Run:
* IMATCH_KEY=imc_live_… IMATCH_WEBHOOK_SECRET=whsec_… node node-mirror.mjs
* then register https://your-host/imatch/webhook with POST /v1/webhooks.
*/
import { createHmac, timingSafeEqual } from "node:crypto";
import { existsSync, readFileSync, writeFileSync } from "node:fs";
import { createServer } from "node:http";
const BASE = process.env.IMATCH_BASE ?? "https://app.imatch.ae/api/v1";
const KEY = process.env.IMATCH_KEY;
const WEBHOOK_SECRET = process.env.IMATCH_WEBHOOK_SECRET ?? "";
const PORT = Number(process.env.PORT ?? 8787);
const STORE_FILE = process.env.MIRROR_FILE ?? "mirror.json";
const POLL_MS = 60_000;
if (!KEY) {
console.error("Set IMATCH_KEY to your imc_live_… key");
process.exit(1);
}
// ── Local store: { cursor, listings: { [id]: row }, inquiries: { [id]: row } } ──
const store = existsSync(STORE_FILE)
? JSON.parse(readFileSync(STORE_FILE, "utf8"))
: { cursor: null, listings: {}, inquiries: {} };
function save() {
writeFileSync(STORE_FILE, JSON.stringify(store, null, 2));
}
/** Idempotent upsert keyed on the iMatch id. Returns "created" | "updated" | "unchanged". */
function upsert(type, row) {
const table = store[type];
const before = table[row.id];
if (before && JSON.stringify(before) === JSON.stringify(row)) return "unchanged";
table[row.id] = row;
return before ? "updated" : "created";
}
/** Mark a row gone (unlisted / sold / deleted) without losing it — your CRM may want the history. */
function retire(type, id, change) {
const row = store[type][id];
if (row) row.mirror_state = change;
}
// ── HTTP helper: envelope-aware, Retry-After-aware ────────────────────────────
async function api(path, init = {}) {
for (let attempt = 0; attempt < 5; attempt++) {
const res = await fetch(`${BASE}${path}`, {
...init,
headers: { Authorization: `Bearer ${KEY}`, "Content-Type": "application/json", ...(init.headers ?? {}) },
});
if (res.status === 429) {
const wait = Number(res.headers.get("Retry-After") ?? 5);
console.warn(`429 on ${path} — waiting ${wait}s`);
await new Promise((r) => setTimeout(r, wait * 1000));
continue;
}
const body = await res.json();
if (!res.ok) throw new Error(`${res.status} ${body.error?.code}: ${body.error?.message}`);
return body; // { data, meta }
}
throw new Error(`gave up on ${path} after repeated 429s`);
}
// ── 1. Initial pull ───────────────────────────────────────────────────────────
async function pullAll(type) {
let page = 1;
let n = 0;
for (;;) {
const { data, meta } = await api(`/${type}?per_page=100&page=${page}`);
for (const row of data) {
upsert(type, row);
n++;
}
if (!meta.has_more) break;
page++;
}
console.log(`initial pull: ${n} ${type}`);
}
// ── 2. Change feed ────────────────────────────────────────────────────────────
async function applyChange(type, change) {
if (change.change === "deleted") return retire(type, change.id, "deleted");
// Fetch the current row; a row we may no longer read (unlisted, not ours) is a 404 → retire it.
try {
const { data } = await api(`/${type}/${change.id}`);
const action = upsert(type, data);
if (change.change === "unlisted" || change.change === "sold") retire(type, change.id, change.change);
console.log(`${type} ${change.id}: ${change.change} → ${action}`);
} catch (err) {
if (String(err.message).startsWith("404")) retire(type, change.id, change.change);
else throw err;
}
}
async function syncOnce() {
if (!store.cursor) throw new Error("no cursor — take one before the initial pull (see main)");
for (;;) {
const { data, meta } = await api(`/changes?since=${encodeURIComponent(store.cursor)}&types=listings,inquiries`);
for (const type of ["listings", "inquiries"]) {
for (const change of data[type] ?? []) await applyChange(type, change);
}
store.cursor = meta.next_cursor; // opaque string; persist it exactly
save();
if (!meta.has_more) break; // else loop immediately with the new cursor
}
}
// ── 3. Webhook receiver with signature verification ───────────────────────────
function verifyConnectSignature(secret, header, rawBody, toleranceSec = 300) {
const parts = Object.fromEntries(String(header ?? "").split(",").map((p) => p.trim().split("=")));
const t = Number(parts.t);
if (!Number.isInteger(t) || !/^[0-9a-f]{64}$/i.test(parts.v1 ?? "")) return false;
if (Math.abs(Math.floor(Date.now() / 1000) - t) > toleranceSec) return false;
const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`, "utf8").digest();
const got = Buffer.from(parts.v1, "hex");
return got.length === expected.length && timingSafeEqual(got, expected);
}
const seenDeliveries = new Set(); // dedupe on the delivery id (deliveries are at-least-once)
createServer((req, res) => {
if (req.method !== "POST" || req.url !== "/imatch/webhook") {
res.writeHead(404).end();
return;
}
const chunks = [];
req.on("data", (c) => chunks.push(c));
req.on("end", async () => {
const raw = Buffer.concat(chunks).toString("utf8"); // sign the RAW body, never a re-serialised copy
if (!verifyConnectSignature(WEBHOOK_SECRET, req.headers["x-connect-signature"], raw)) {
res.writeHead(401).end();
return;
}
res.writeHead(200).end(); // answer first (within 10 s), work after
const env = JSON.parse(raw); // { id, event, created_at, partner, data }
if (seenDeliveries.has(env.id)) return;
seenDeliveries.add(env.id);
try {
if (env.event.startsWith("listing.")) {
upsert("listings", env.data.listing);
if (env.event === "listing.unlisted" || env.event === "listing.sold") retire("listings", env.data.listing.id, env.event.split(".")[1]);
} else if (env.event.startsWith("inquiry.")) {
upsert("inquiries", env.data.inquiry);
if (env.event === "inquiry.unlisted") retire("inquiries", env.data.inquiry.id, "unlisted");
} else if (env.event === "match.created") {
// env.data = { match, mine }. Contacts are never inside a webhook — fetch with include=contact when you act.
console.log(`match ${env.data.match.id} (mine: ${env.data.mine}) score ${env.data.match.score}`);
} else if (env.event === "ping") {
console.log("ping received — webhook wiring works");
}
save();
} catch (err) {
console.error("webhook handling failed:", err);
}
});
}).listen(PORT, () => console.log(`webhook receiver on :${PORT}/imatch/webhook`));
// ── Main ──────────────────────────────────────────────────────────────────────
const { data: me } = await api("/me");
console.log(`connected as ${me.partner.name} (${me.partner.slug})`);
if (!store.cursor) {
// Take the cursor BEFORE the snapshot, a minute back to be safe: anything
// that changes while the pull is running is then replayed by the feed
// instead of falling between the two.
store.cursor = new Date(Date.now() - 60_000).toISOString();
await pullAll("listings");
await pullAll("inquiries");
save();
}
await syncOnce();
setInterval(() => syncOnce().catch((err) => console.error("sync failed:", err)), POLL_MS);
Run it with your key and webhook secret in the environment, then register https://your-host/imatch/webhook with POST /webhooks and send yourself a ping with POST /webhooks/{id}/test.
Postman
A Postman collection is generated from the API's own OpenAPI document, so it always matches: one folder per area, every request with its parameters and an example body.
In Postman: Import → Link → paste https://api.imatch.ae/postman.json → Import.
Open the collection's Variables tab and set apiKey to your key. baseUrl is already the production server.
Send Account → Who am I. Everything else is one folder away; query filters are listed on each request and switched off until you tick them.
Marketplace apps
Ready-made apps for HubSpot, Zoho, Bitrix24 and PropSpace are on the roadmap. Each needs a vendor developer account and a listing review on that vendor's marketplace, so none exists yet — and we would rather say so than show you a button that does nothing. Every one of them will be built on exactly the four steps above, which you can do today.
Changelog
What changed, and when.
/v1 is frozen: fields, values and endpoints are only ever added. Every addition is listed here.
2026-11-25
No daily limit on new project suggestions.POST /projects/{project_id}/suggestions no longer counts new suggestions per UTC day, so it no longer answers 429 quota_exceeded for that (it was at most 200 a day). GET /suggestions/allowlist shows limits.suggestions_per_utc_day: null while there is no daily limit. The per-key minute limit and the write limit still apply, unchanged. If we set a daily limit again, it is listed here and the field carries the number. See Suggestions.
2026-11-24
**Renew your own listings and inquiries — POST /listings/by-external/{external_id}/renew and POST /inquiries/by-external/{external_id}/renew.** No body. A live row gets a new end date (expires_after = now + 21 days for a listing, 7 for an inquiry); an expired or paused one goes back on the Market with a new end date. Answers { external_id, id, reference_no, action, state, expires_after, warnings } (action: renewed, or noop when there is no end date to move; a sale + rent pair also carries twin). Refusals use new error codes: 409 sold, 409 rented, 409 closed (send PATCH with live_status: "Active" to put such a row back), 409 changed (it moved while renewing — read and retry), 422 sale_price_below_floor, 422 held_no_place. Needs listings_write / inquiries_write, like the other writes; test keys renew their sandbox rows. Pause stays DELETE /…/by-external/{external_id}. See Listings and Inquiries, *Expiry & renew*.
**state on every listing and inquiry.** Where the row stands on the Market, in one word: live, paused (taken off before expires_after), expired (expires_after passed), sold, rented or closed; null only for a state we do not know. A new key after expires_after on every read, write echo and webhook that carries a listing or an inquiry. Nothing else in the shapes changes.
No more keep-alive: iMatch no longer renews your rows for you. Until now an identical re-send (noop) moved a row's expires_after to the full 21 / 7 days, at most once a day. It no longer does: a listing or an inquiry expires 21 / 7 days after it was created or last renewed, and stays expired until you renew it. The noop item still carries expires_after, now unchanged. When a row expires, listing.unlisted / inquiry.unlisted with reason: "expiry" tells your webhook, as before.
**Only Renew brings an expired row back; a write without live_status never changes a row's place on the Market.** A re-POST or a PATCH of an expired listing or inquiry saves its content but leaves it expired, also with live_status: "Active" (until now any re-POST put it back). A re-POST without live_status leaves a paused row paused (until now it put it back); an explicit live_status: "Active" still puts back a row you paused. Such an item says so in warnings (not put back on the Market: … expired … / kept paused: …) and carries expires_after. Every write item (POST and PATCH) now also carries state. Unchanged: a new row with no live_status is created live, Sold / Unlisted sent explicitly apply as before, and a listing held under the AED 300,000 sale floor is published by the re-send that fixes it. Test keys behave the same.
2026-11-16
More changes reach you the moment they happen. No shape changes; more deliveries of the events you already receive. A change to a project's aliases or to its area's name now sends project.updated (before, it waited for the project's next own change). A project that stops being public — or is removed — now also sends unit.updateddeleted for each of its units, and one that becomes public again sends updated for each (before, you dropped them yourself on the project's deleted). A project joining or leaving a developer's live list, moving to another developer, or changing the logo the developer shows now sends developer.updated for the old and the new developer; their updated_at does not move for this, so apply a record whose updated_at equals yours. A suggestion.updated we could not send at the time of the change is re-sent within minutes (its changed_fields may then name all three parts). A record's updated_at never moves backward any more, also when two of our writers change it at the same moment. After an outage of our own, the changes made during it are re-sent on recovery (up to 48 hours back). See Projects and Webhooks.
Up to 20 payment plans in a suggestion. A payment_plans suggestion now takes 1–20 plans (it took 1–10). We serve up to 14 plans on a project, so an untouched echo of what we serve was refused with a 400; it is accepted now. Nothing else changes.
Prices from the developer's price list, when we hold none. A project's min_price_aed and its presentation section's price_per_sqft_min_aed / price_per_sqft_max_aed keep their names, types and our values; where we hold no value, they are now filled from the developer's own price-list units we serve for that project (the units of GET /units?project_id=): the lowest price, and the lowest and highest AED per square foot (price ÷ size, 300–20,000, homes only when the project also lists offices or shops). Two new keys say where each came from: min_price_source (after presentation) and presentation.price_per_sqft_source (last in presentation), each ours, inventory or null. Ours always wins. The figures follow the price lists: when one changes the record you hold, project.updated arrives at once (changed_fields: presentation). The min_price / max_price filters and the min_price sort still read our own price only. See Projects.
**Set a project's stage — PATCH /projects/{id}/sale-status.** Your staff set a project's sale_status (announced, presale, start_of_sales, on_sale, out_of_stock) and it applies at once, with no review by us; the change comes back to every subscribed endpoint as the normal project.updated (changed_fields: ["sale_status"]). Body: client_ref (the idempotency key), sale_status, an optional before (compare-and-swap: 409 before_differs with ours in details.current when it is not our stage), and changed_by (ref, optional name and role; kept in our change log and audit log and echoed back to you in the change record, never sent to another partner). A stage cannot be cleared from outside. A stage you set is kept from our automated writers until our admin changes it. Needs the new sale_status_write switch (off by default; GET /me shows it). New error code before_differs (409). Test keys rehearse it against the real project with nothing written, the push going to test webhooks only. See Projects.
2026-11-14
Project suggestions — contract_version 3: prices and payment plans. Additions only: every version 1 and 2 body is still accepted unchanged and every record keeps its shape. Five new field keys, in the names GET /projects serves: min_price_aed (a whole number of AED, 1 … 10,000,000,000), presentation.price_on_request (true / false), presentation.price_per_sqft_min_aed and presentation.price_per_sqft_max_aed (AED per square foot, at least 1; max ≥ min when both are sent) and payment_plans (the whole list in the served shape: 1–10 plans { id?, name?, has_post_handover?, stages }, each plan's stage percentages adding up to 100; an id must be one of the ids in your before). Two pairs are decided together, like latitude and longitude: min_price_aed + presentation.price_on_request, and the two per-square-foot prices; each may also be sent alone. The payment-plan safety rule: a payment_plans item is applied only while our list still equals your before (and did not differ when you sent it); otherwise our reviewer can only reject it as not_accurate, so an empty before never replaces plans we hold. GET /suggestions/allowlist publishes it all (contract_version: 3, new keys field_pairs, fields[].decided_with, vocabulary.payment_plan_stage_type), the field item key of a record takes the new keys, and POST /sandbox/events rehearses the pairs and the rule (a payment_plans item with before_differs cannot be rehearsed as applied). A live key may send prices once we open them (until then a body with a price field is 403 feature_disabled; everything else is unchanged). See Suggestions.
Live project suggestions, partner by partner. A live key whose partner we switched on (suggestions_write) now stores real suggestions: the routes, records and errors are exactly the sandbox's (201 new, 200 replay, 404 for another partner's id, 409 suggestion_decided). Files are fetched as declared — the same size and sha256, or the item is failed with a fetch reason — into private storage; our reviewer applies or rejects each item with a reason, and every step is pushed as suggestion.updated. A suggestion stays pending while its items are being decided, and can no longer be withdrawn once one is. Until we switch your partner on, a live key keeps 403 feature_disabled; test keys keep the sandbox, unchanged. See Suggestions.
Developer sales agents open to live keys. With sales_agents_read on (and the key scoped for it), a live key reads GET /sales-agents and GET /sales-agents/{id} with the agents' full contacts — an iMatch demo sign-in number is still null — and receives sales_agent.updated as agents change. With sales_agents_write, POST /sales-agents stores the agent for our platform admin's review and answers 201 with OUR id at once; the agent reaches /sales-agents (and your other users) only once approved, and you hear every decision on sales_agent.updated (link.review_status, reason). PATCH / DELETE /sales-agents/by-external/{external_id} work as in the sandbox. Same shapes, same codes as the sandbox of 2026-11-13; test keys are unchanged. See Sales agents.
**Developer news — GET /news and GET /news/{id}.** The news iMatch builds from the developers' own announcements, in our words (English, plain text, never the raw message, the group, the sender or the file; no links, emails or phone numbers): { id, date, sort, time, kind, headline, detail, developer: { id, name }, projects: [{ id, name }], first_seen, seen_days, event, commission_pct, source, created_at, updated_at, removed_at }. kind is one of launch, inventory, price, payment_plan, commission, event, handover, other. A sync read: every item in (updated_at, id) order, removed ones included — a hidden item carries removed_at, a deleted one is only { id, removed_at, updated_at }. updated_since to start, then cursor = meta.next_cursor, limit up to 200. Needs the new news_read feature (off by default; GET /me shows it). A test key also gets sample items with negative ids. See Developer news.
**New webhook events news.created, news.updated and news.removed** (need webhooks and news_read): data is { id, news, cursor }, news being the item exactly as GET /news/{id} returns it. news.removed = hidden or deleted by our staff; un-hiding sends news.updated with removed_at: null. Test keys can rehearse all three with POST /sandbox/events.
Sandbox news events change the sample they name, and the reads show it.POST /sandbox/events takes news_id (a sample's id, -1 … -5) on news.created, news.updated and news.removed, and news_removal (hidden, the default, or deleted) on news.removed. news.updated edits the sample (sample.news: headline, detail, kind, time, event, commission_pct — without it the item is posted again today) and un-hides it; news.removed hides or deletes it. Both are remembered for your test key for 24 hours, so GET /news/{id} and GET /news show exactly what the push carried. Before, news.updated always carried sample -3 and nothing was remembered. Test keys only; a deleted sample cannot be updated (400), an unknown news_id is a 404. See Developer news.
**note on every suggestion record.** The 201, GET /suggestions/{id}, GET /suggestions and suggestion.updated now carry note (after partner_approved_at): your note exactly as our reviewer reads it, contact details [removed]; null when you sent none. Live and test keys. See Suggestions.
Sandbox suggestion decisions keep an item's own status. In POST /sandbox/eventssuggestion.updated, an item you name with a status of its own keeps it even when the decision's status is applied or rejected — the suggestion_v2 example's fp1 now stays pending, as the example says. Before, it was overwritten with the suggestion's status. Items you do not name still follow it, as before. Live suggestions were never affected.
**An agent our staff switch off reads suspended.** When iMatch staff switch off one of your approved sales agents outside the review (on our own developer pages), your link now becomes review_status: suspended, reason: other, active: false, and you receive sales_agent.updated — the same as an agent our review suspended (a later change answers 409 sales_agent_suspended). Before, the agent only left /sales-agents while GET /sales-agents/by-external/{external_id} still said approved.
2026-11-13
Project suggestions — contract_version 2 (files), sandbox first. Additions only: every version 1 body is still accepted unchanged and every record keeps its shape, gaining properties. New list floor_plan_items (an image; no type; unit_type — the plan's label, served back as floor_plan_items[].unit_type — plus optional bedrooms, 0–20 in steps of 0.5 or null, and size_sqft). documents gains the type Floor Plan (a PDF) and action: replace (a Brochure only, one per suggestion) makes the new brochure THE brochure on approval, and the applied item's removed_ids names the ones that left. Every file may carry extracted_from, page and order. New role partner_admin (your own staff; no developer_id). Up to 100 files per suggestion (was 20); over 20 files, at most 500 MB declared in all. The same sha256 twice in one list is accepted with the new meta.warnings entry same_file_twice. New reason wrong_category; new item warnings duplicate_of_existing, similar_to_existing, replaces_larger_file; every file item now carries action, extracted_from, page, order, unit_type, bedrooms, size_sqft, duplicate_of, similar_to and removed_ids (a floor plan's type is null). GET /suggestions/allowlist publishes it all (contract_version: 2, new keys file_properties, vocabulary_since, requested_by.roles_since, files[].types_since), and POST /sandbox/events rehearses every new outcome. Live suggestions are still closed (403 feature_disabled). See Suggestions.
Test keys may link suggestion files from anywhere you rehearse. With a test key a file url may be https on any host (default port) or plain http://localhost / http://127.0.0.1 on any port — sandbox files are never fetched. Each such file carries the new item warning file_host_not_allowed_live (in the allowlist since contract_version 2, with limits.file_url.test_keys), because a live key still accepts only https on app.ipresent.ae. Nothing that was accepted before is refused.
Developer sales agents, sandbox first. Two new features, off by default: sales_agents_read — GET /sales-agents (developer_id, project_id, updated_since, paged), GET /sales-agents/{id} and the new webhook event sales_agent.updated ({ id, change, changed_fields, sales_agent, link }); and sales_agents_write — POST /sales-agents (external_id = <your user id>:<our developer id>; stored pending until our platform admin approves it; 409 sales_agent_exists links you to a person we already hold) and GET, PATCH, DELETE /sales-agents/by-external/{external_id} (your view: review_status, pending_change, reason). New error codes 409 sales_agent_exists, 409 sales_agent_suspended, 409 sales_agent_inactive. Today only test keys can use them: our real agents with contacts masked, your own agents in the sandbox, and POST /sandbox/events with { "event": "sales_agent.updated", "sample": { "link": { "review_status": "approved" } } } to play our admin. A live key answers 403 feature_disabled until live sales agents open; live keys will then get the agents' full contacts. See Sales agents.
**agent.photo_url on listings.** Every listing on /listings, /listings/{id}, /listings/by-external/{…}, /distress, /me/listings, the listing inside /matches, the MCP listing tools and the embedded Listings screen now carries agent.photo_url, after the existing agent fields: the listing broker's photo as a public https address (https://imatch.ae/api/public/profile/{handle}/photo.webp — the extension is the picture's type) — the same picture their public page on imatch.ae shows. A plain image, no key, served with an ETag and an hour of caching. null when the broker has no public page or no photo there, and whenever agent.name is null. Not a contact: no include=contact, no reveal. Webhook payloads do not carry it.
**project_id filter on GET /listings.** ?project_id=<id> returns only the listings whose project_id is that Projects id — the same confident match that fills project_id on each row, so the filter and the field always agree. It combines with every other filter, sort and page; total counts the project's listings. A project_id that is not a positive integer is a validation_error; an id no listing resolves to answers an empty page. project=<name> is unchanged (a contains-search: Oasis also finds Oasis Two). Also on /distress, /me/listings and the MCP search_listings tool.
**Without distress_read, a distress listing no longer states the deal in words.** On a distress listing that is not yours, description, ai_summary, extra_details, extra_features and source are now null (the keys stay), matching the discount fields that were already withheld; q does not search such a listing's description and source= does not match it. Partners with distress_read see no change.
2026-11-12
Project suggestions — contract_version 1, sandbox first. New feature suggestions_write (off by default; GET /me shows it). POST /projects/{project_id}/suggestions sends one suggestion — latitude + longitude, travel_times, and file links for gallery_items (exterior, interior, lobby), masterplan_items (masterplan, general_plan = the location map) and documents (Brochure) — for our platform admin to review; client_ref makes it idempotent (201 new, 200 replay with meta.replayed: true). The body is strict: an unknown key, or a key, list or type outside the allowlist, is a 400 that names it. GET /suggestions/{id}, GET /suggestions (status, updated_since), DELETE /suggestions/{id} (withdraw while pending; new error code 409 suggestion_decided) and GET /suggestions/allowlist (what this contract version accepts, as data). At most 200 new suggestions per UTC day (429 quota_exceeded). See Suggestions.
**New webhook event suggestion.updated** (needs webhooks and suggestions_write): data is { id, change: "updated", changed_fields, suggestion } with the whole suggestion, one delivery per change, never on creation.
Today only test keys can use them. A test key gets every route in the live shape against its sandbox, and POST /sandbox/events with { "event": "suggestion.updated", "suggestion_id": …, "sample": { "suggestion": { … } } } decides one of its sandbox suggestions and writes the result back. A live key answers 403 feature_disabled on the suggestion routes (the allowlist excepted) until live suggestions open; that day gets its own line here.
2026-11-08
**unit.updated webhook.** Every change to the developer price-list units GET /units lists reaches you as soon as it is made, one delivery per unit: data is { id, change, changed_fields, unit, cursor } — unit is the whole GET /units row (null when deleted). A unit arrives as updated when its price list is approved (one delivery per unit on it) and as deleted when it stops being listed (the list withdrawn or replaced, the unit excluded or flagged, or gone). Units on a project that stops being public are not announced one by one — that project's project.updateddeleted says it. Needs webhooks and units_read. See Projects → All developer units.
**developer.updated webhook.** Every change to a developer's directory entry or profile, one delivery per change: data is { id, change, changed_fields, developer, cursor } — developer is the whole GET /developers/{id} object (null when deleted, i.e. no longer listed). Needs webhooks and developers_read. See Projects → Developers.
**Developers have updated_at.** GET /developers and /developers/{id} now carry updated_at (last field): when the directory entry or the profile last changed. updated_since now also returns developers whose name, aliases, head office, Land Department numbers, Arabic name or listing changed — before today only profile changes moved it.
**/changes learned types=units and types=developers** (opt-in, like locations: never part of the default). units lists the units GET /units lists, on their updated_at, always change: updated; developers every developer, deleted once it is no longer listed. Both settle 600 seconds behind, like projects. The cursor in unit.updated / developer.updated is one of these.
Test keys can rehearse both: POST /sandbox/events with { "event": "unit.updated" } or { "event": "developer.updated" }.
2026-11-07
**project.updated webhook.** Subscribe to it and every change to the project catalogue reaches you as soon as it is made, one delivery per change: data is { id, change, changed_fields, project, cursor } — change is created, updated or deleted, project is the whole record exactly as GET /projects/{id} returns it (without units; null when deleted), changed_fields names what moved in the record's field names, and cursor is a /changes?types=projects cursor to resume from. A test key can rehearse it: POST /sandbox/events with { "event": "project.updated" }. Needs webhooks and projects_read. See Projects → Staying in sync.
**A project's updated_at is now its real last change.** It moves on any change of the project — any field, file or flag, whoever made it. Before today it moved only when the project was created, enriched or its media were downloaded, so updated_since and /changes?types=projects missed most edits. Same field, same format; expect more projects in a delta than before.
**/changes?types=projects now settles 600 seconds behind** (it was 10 seconds), like types=locations: a bulk change stamps its projects with the moment it STARTED, and a shorter window could let one fall behind your cursor. Same rows, same cursor format; projects simply appear in the feed 600 seconds later. The project.updated webhook is immediate.
Nine more project fields./projects, /projects/{id}, the MCP project tools, the embedded Projects screen and project.updated now also carry unit_types, construction_start_date, construction_end_date, launch_date, total_area, is_branded_project, video_links, nearby_points_of_interest and deposit_percent, after inventories_raw — each null when we hold none. Nothing renamed or removed.
2026-11-01
**Developer profiles on /developers and /developers/{id}.** Every developer now also carries about, website, founded_year, address, phone, email, social_links ({ instagram, linkedin, facebook, x, youtube, tiktok }, or null), name_ar, dld_registered_on (YYYY-MM-DD) and profile_updated_at — after the existing fields, each null when we hold none. The existing fields are unchanged. Same developers_read feature. A test key gets phone and email masked.
**updated_since on /developers.** Returns developers whose profile changed, or who joined the directory, at or after that time. Directory edits (name, aliases, head office, DLD numbers, Arabic name) and logo / project-list changes do not move it — keep an occasional full read. See Projects → Developers.
2026-10-30
**Developers — GET /developers and GET /developers/{id}.** The developer directory: id, name, aliases, dld_developer_number / dld_developer_numbers, headquarters, logo_url, projects_count and project_ids (the developer's live projects). Paged by id; no updated_since — read it whole. Needs the new developers_read feature (off by default; GET /me shows it). See Projects → Developers.
**developer_id on every project.** /projects, /projects/{id}, the MCP project tools and the embedded Projects screen now carry developer_id beside developer — the developer's /developers id, or null when the name is not in the directory. Additive; nothing renamed or removed.
**All developer units — GET /units.** The developer price-list units across every project, paged, with project_id and updated_since filters; each row carries id, project_id and developer_id plus the include=units fields. Needs units_read. See Projects → All developer units.
Only checked units are served.include=units (REST, MCP, the embedded Projects screen) and GET /units list a unit only when a person at iMatch approved its price list, it is current, not excluded and has no open review flag, and its project is live. A unit's updated_at is now the later of its own change and its list's approval. No partner has been served a unit before today, so nothing you hold changes.
**Key scopes on include=units.** A key scoped without units_read now gets feature_disabled on include=units, as it already did over MCP; keys without scopes are unchanged.
2026-09-29
**Project search finds the right project first — sort=relevance.** GET /projects (and the MCP search_projects tool) has a new sort value, relevance, and it is the default whenever q is given without a sort. Every word of q must appear in the project's name, an alias, its district, its area or its developer, and the best match comes first: the name (or an alias) equal to q, then names starting with it, then names with a word starting with it, then names containing it, then projects found only through an alias, the place or the developer. q=crest now returns The Crest first (it was 18th by name); q=hartland and q=sobha hartland crest now find it. What changes for you: a call with q and no sort used to be ordered by name and matched on name or alias only; it is now ordered by relevance and also matches on place and developer words — for a one-word q, every project you got before still comes back, plus the ones whose place or developer carries the word. Nothing changes for a call that sends sort=name (or any other sort) — send sort=name to keep the old behaviour exactly — or for a call without q. See Projects → Searching.
2026-09-26
**Replace a listing's photos — PUT /listings/{id}/photos and PUT /listings/by-external/{external_id}/photos.** Makes the listing's photos exactly the list you send, in order (0–100; [] removes them all). A photo already there with the same url and kind is kept without being downloaded again; otherwise one with the same image is kept and learns your url; the rest are added, and anything left over is removed. All or nothing; meta carries kept, added, removed. Needs photos_write and the new photos_replace feature (off by default — GET /me shows it). See Listings → Replacing a listing's photos.
**source_url and position on every photo.** Every photo now carries its 0-based place in display order (position), and on your own listings the url you attached it with (source_url, null for base64) — everywhere a listing is returned and in webhook payloads. On listings that are not yours source_url is always null. Project photos carry null for both. Photos attached before today have source_url: null — it was not kept until now; one PUT fills it in.
Attaching photos is idempotent.POST /listings/{id}/photos and photos sent with a listing upsert no longer add a photo the listing already has (same url and kind, or the same image) and no longer download it again. The response keeps one entry per photo you sent, in your order; meta.added counts what was stored and the new meta.skipped_duplicates what was already there. Until today every retry added another copy.
Photo failures name the photo. When a photo cannot be used, nothing is stored and error.details.failed lists every failing photo as { index, url, reason, message }. The message now starts with photos[i] and ends with "Nothing was written." New error code 409 photos_changed: the listing's photos changed during your call; nothing was written, send it again.
Nearby matches — marked, and left out unless you ask. iMatch's matching update of 2026-09-25 marks some matches *nearby*: right on budget, type and bedrooms, in the right area, but not the exact place (another building in the same community, or a community inside the area the buyer named). That covers new matches and older ones it re-examined, so some matches you already hold are now nearby. Every match now carries kind (exact | nearby) and is_nearby, on GET /matches, GET /me/matches, over MCP and in match.created. By default reads return exact matches only — add include=nearby (or include=contact,nearby; MCP my_matches: include_nearby: true) to get both kinds, each marked — and match.created fires for exact matches only unless iMatch switches on the new matches_nearby feature for you (off for everyone by default; GET /me shows it). Until today nearby matches were served and pushed like exact ones, unmarked: to find which of the matches you stored are nearby, read them once with include=nearby and look at kind. Show nearby matches apart from exact ones, never mixed in. See Matches → Exact and nearby matches.
**Keep your copy of the tree current — GET /locations/changes.** The places that changed since a point, oldest first, each in your scope's shape: { id, change, at, merged_into_id, place }. change is created, updated (the place, one of its aliases or outside ids, or a place above it — its breadcrumb — changed) or deleted (no longer a live place: switched off, or merged into merged_into_id — re-point what you stored). With locations_refs, place is the full node exactly as the export shows it (a merged or retired node as it is, schools and nurseries included); otherwise the compact place, or null once it is gone. Start with since (an ISO date-time or any cursor we issued), continue with cursor = meta.next_cursor. Paged by (updated_at, id) with a strict cursor, up to 2,000 a page. Held 600 seconds (10 min) behind real time (meta.lag_minutes, meta.until): a place-writing batch can run for minutes and its places carry its start time, so a shorter lag could let one slip behind your cursor. The tree is read-only through the API — nobody edits it through Connect. See Locations → Keeping a copy current.
**/changes?types=locations.** The same rows, ids only: { id, change, at, merged_into_id }, the same 600-second lag, and the cursor is interchangeable with /locations/changes. Opt-in: a /changes call without types still returns listings, inquiries and projects only. Needs areas_read.
**New webhook event location.updated** (needs areas_read). Every few minutes, the places that changed since the last delivery, in your scope's shape: data = { scope, locations: [ …the same items as /locations/changes… ], cursor } — each place once, at most 100 per delivery, cursor = where to resume the feed after this delivery. It follows the feed, so it arrives about 10–15 minutes after the change. Subscribe to it explicitly (or to *).
**Stable codes for placement warnings — warning_codes.** Every POST /listings item result and PATCH /listings/by-external/{id} result now carries warning_codes: string[] next to the unchanged warnings: one stable code per placement warning, in the same order — location_unknown, location_merged:<new id>, location_conflict, bayut_id_ignored, external_ref_unknown_source, external_ref_unknown_id, external_ref_feature_off. Test keys get the same codes. See Listings → Where the listing goes.
**Who took your row down — reason + actor.** Every listing.created / updated / unlisted / sold and inquiry.created / updated / unlisted event about one of your own rows now carries, next to the row in data: reason — partner (your own API call: the echo you can ignore), expiry (iMatch's daily expiry: 21 days for a listing, 7 for an inquiry) or imatch (someone or something on iMatch's side) — and actor — your partner slug for partner, system:auto-unlist for expiry, and imatch:admin (an iMatch team member), imatch:user (a signed-in iMatch user — the listing's agent or their brokerage — in the iMatch app, website or Copilot) or imatch:system (an iMatch rule such as the sale-price floor, or a change no person can be named for) for imatch. actor never names a person. See Webhooks → Who did it.
2026-09-25
The locations tree. Every place in the UAE in one tree — city → region → area → community → sub-community → cluster → building — with the same ids on both sides; area ids equal /areas ids. GET /locations/search (ranked, Dubai first), GET /locations/{id} (the place, the places it sits in, the first page inside it; a merged id answers as its survivor with meta.merged_from) and GET /locations/{id}/children (keyset-paged). New today: GET /locations (the top: the cities), parent_id and name_ar on every place, and aliases on GET /locations/{id}. See Locations.
Export with conditional GET.GET /locations/export walks the whole tree, parents before children, up to 2,000 places a page. Every page carries an ETag (and meta.version); send it back as If-None-Match and an unchanged tree answers 304 Not Modified. GET /locations/retired lists ids that no longer answer as a place of their own and where they went.
Resolve.GET /locations/resolve?area=&community=&project= — where a listing with that text would be placed: status (resolved | ambiguous | unresolved), the place, candidates, conflicting_fields. The same reading POST /listings makes; never a fuzzy guess.
**The full tree — new feature locations_refs.** Off unless iMatch enables it for you. With it the export walks every node (merged, retired, schools and nurseries too) with every field we hold, every alias row with its kind, and every outside id (refs: Bayut, Dubai Land Department, legacy ids — primary and secondary); GET /locations/{id} answers the same full shape; GET /locations/by-ref/{source}/{external_id} turns an outside id into our place.
Listings know their place. Every listing now carries location_id and location (the place's id, name, level and breadcrumb; with locations_refs also its primary refs) — on reads, inside /matches, over MCP and in webhook payloads (webhooks never carry refs). On POST / PATCH /listings, location_id places a listing exactly; with locations_refs, so does external_ref: { source, id } or bayut_location_id. Text stays the fallback. Additive; nothing was renamed or removed.
Communities.GET /communities rows gain location_id — the same community as a place of the tree.
MCP. New tools search_locations, get_location, resolve_location, and get_location_by_ref (listed only with locations_refs).
2026-09-13
Agent links — "my listings" now means a person. Your key identifies your CRM and your brokerage; it never asserts who somebody is. An agent connects their own iMatch account once, by signing in themselves: POST /agent-links/start → send their browser to authorize_url → they agree. After that any /v1 call may carry ?as_agent=<link_id> (or X-Connect-Agent), and GET /me/listings, /me/inquiries and /me/matches answer for that person. Embed sessions take agent_link_id, MCP tools take as_agent, and with a link the Copilot is *their* Copilot — the same thread they see in the iMatch app and on WhatsApp. Either side can disconnect; deactivating the agent's iMatch account revokes every link immediately. New events agent_link.connected / agent_link.revoked; new endpoints GET /agent-links, GET/DELETE /agent-links/{id}. Without as_agent nothing changes — every existing call is still brokerage-wide. See Agent links.
**Listings — project photos and project_id.** Very few listings in the market carry a photo of their own, so a listing that has none now inherits its matched project's pictures inside photos, marked kind: "project" — a photo of the building or development, never of that unit. A listing that already has its own images is left exactly as it was. Every listing we could match to a project also gains project_id and project_photo_url, whether or not it has its own photos, so you can label the picture honestly or open the project. Both are additive; nothing was renamed, removed or reordered. Same on /listings, /listings/{id}, /listings/by-external/{…}, /distress, the listing inside /matches, the MCP listing tools and the embedded screens. See Listings → Pictures, and whose they are.
Embeds — inline listings.POST /embed/sessions accepts listing.inline — a listing that exists only in your CRM — so the offer and poster tools can open it without a /listings row. Kept for the session hour only; photos fetched from your https URLs at render time; artefacts carry your external_id as their reference. New responses: 413 payload_too_large, 503 inline_unavailable. The Copilot tool ignores it. See Embeds & SDK → Inline listings.
v1 — 2026-09-12
The first release of iMatch Connect.
REST API — listings (read, upsert on external_id, patch, unlist, photos), inquiries (read, upsert, patch, close), projects (catalogue and detail, developer unit lists behind units_read), distress feed (behind distress_read), areas and communities, matches on your own records, GET /me. One envelope, stable error codes, per-key and per-partner budgets, contact reveals charged per record per 30 days.
Change feed — GET /changes with an opaque cursor, strict ordering on (updated_at, id), and a 10-second safety lag.
Webhooks — up to 10 HTTPS endpoints per partner; ten events; X-Connect-Signature HMAC-SHA256 over t.body; retries at 1m / 5m / 30m / 2h / 12h; auto-disable after 50 consecutive failures; delivery log, test ping and redeliver from the API.
Embeds & SDK — the offer, poster and Copilot tools in an iframe on your allowed origins; POST /embed/sessions; connect.js with mount / open and ready / resize / created / error events.
Copilot API — POST /copilot/chat and /copilot/chat/stream, read-only, conversations kept 24 hours.
MCP server — POST /mcp, protocol 2025-06-18, one tool per REST operation.
Documents — GET /openapi.json (OpenAPI 3.1), GET /postman.json (Postman v2.1), and this page.