For agencies
Listing API
Send your listings from your CRM or website to Kotiel, keep them in sync, and get your buyer inquiries back. Every key belongs to one verified agency and only ever reaches that agency's listings.
1.Your key
A verified agency makes keys in Studio › Account › API keys. A key is shown once; Kotiel keeps only its fingerprint, so a lost key can't be recovered: revoke it and make a new one. Send it in every request:
Authorization: Bearer ktl_…- Keep it on your server. Never put it in a web page or an app people download.
- Up to 5 keys per agency, 120 requests a minute per key. Over the limit you get 429 with Retry-After.
- If the agency's verification is paused, its keys stop working until it's back.
2.Send a listing
Listings are addressed by your own reference (your CRM's id: letters, digits, . _ -, up to 50). PUT creates the listing the first time and updates it after that, so sending the same request twice is safe.
curl -X PUT https://kotiel.com/api/v1/listings/CRM-1042 \
-H "Authorization: Bearer $KOTIEL_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Casa de los Arcos",
"type": "Historic house",
"price_usd": 1250000,
"street": "Calle del Ejemplo 10", "neighbourhood": "Centro",
"city": "Guanajuato", "country": "Mexico", "postcode": "36000",
"lat": 21.0, "lng": -101.3,
"built_m2": 620, "land_m2": 480, "rooms": 6, "baths": 5, "since": "1890",
"description": "Two patios, 1890 vaults and a roof terrace over the cathedral.",
"text": { "en": { "title": "…", "body": "…" }, "es": { "title": "…", "body": "…" } },
"photos": ["https://your-crm.com/photos/1042/1.jpg", "https://your-crm.com/photos/1042/2.jpg"]
}'{
"data": { "ref": "CRM-1042", "id": "…", "state": "in_review", "url": null, "name": "Casa de los Arcos", … },
"photos_pending": 0,
"photos_failed": 0
}- A new listing waits for Kotiel's review (state in_review) before buyers or portals see it. Your plan's listing limit applies; past it you get 402.
- Changes to a live listing go live and are checked again (live_changes_in_review).
- Fields you leave out stay as they are. Fields that aren't in the list below are refused.
- Up to 6 photos are copied per request. If photos_pending is above 0, send the same request again.
nametext · requiredThe listing's name.
type, usetexte.g. “Historic house” or “Architect-designed home”; what it suits best (hotel, residence…).
price_usd / price_on_requestinteger / booleanAsking price in US dollars. Most portals don't take “price on request”.
street, neighbourhood, city, country, postcodetextPostcode is required by some portals.
lat, lngnumberMap point. Buyers see it within about a kilometre unless show_exact_address is true.
built_m2, land_m2, rooms, baths, sincenumber / textSizes in square metres; since is the year or era it was built.
descriptiontextUp to 8,000 characters.
text.en / es / de / fr{ title, body }Your own text in each language. Kotiel writes the missing ones at review.
photosURL list · up to 40Public https links. Kotiel copies them (never hot-links), in your order; a URL already copied isn't copied again, and one you leave out is removed.
3.Endpoints
GET /api/v1/listings your listings, newest change first (?limit, ?after)
GET /api/v1/listings/{ref} one listing
PUT /api/v1/listings/{ref} create or update
DELETE /api/v1/listings/{ref} withdraw from the site and every portal
GET /api/v1/leads?since=… buyer inquiries on your listings (?since, ?limit)A withdrawn listing stays in Studio; a new PUT sends it back to review. Each listing's state is one of in_review, live, live_changes_in_review, withdrawn or sold.
4.Errors
Errors come as JSON with a code you can act on and a message in English you can show:
{ "error": { "code": "invalid", "message": "Some fields aren't right.",
"fields": [{ "field": "price_usd", "problem": "Must be more than 0" }] } }401missing_key / invalid_key ·403agency_not_verified ·402plan_full400bad_ref / bad_json ·415json_only ·413too_large ·422invalid404not_found ·409conflict ·429rate_limited ·500server_error
5.What Kotiel keeps
Each request is logged with its time, key, path and status (never its body) for 90 days, so Kotiel can check what happened if you ask. Inquiries come with the buyer's contact details: handle them under your own privacy notice, as you would any lead.
Questions or a CRM you'd like connected: sales@kotiel.com