Searches lease agreements (baux de location) with cursor-based pagination. Requires SITE_PRODUCT:READ permission and RS:LEASE_SEARCH right.
Security
bearerAuth
Free text search across customer names, product model, dossier number.
Example:"Dupont"
Filter by offer status. Only applicable for sales-offers search.
attente— Pendingacceptee— Acceptedrefusee— Refusedannulee— Cancelled
Enum:"refusee""attente""annulee""acceptee"null
Filter by product reference (exact or partial match).
Example:"REF-2025-001"
Filter by agency IDs. Each ID must be within the authenticated site's scope.
Example:
[ 123, 456 ]
Only return transactions modified after this date. Format: ISO 8601 with timezone offset (YYYY-MM-DDTHH:MM:SS+HH:MM).
Example:"2025-01-01T00:00:00+01:00"
Only return transactions created after this date. Format: ISO 8601 with timezone offset.
Example:"2025-06-01T00:00:00+02:00"
Opaque pagination cursor. Pass the meta.next_cursor value from the previous response to fetch the next page. Omit for the first page.
- Mock serverhttps://api-doc.immo-facile.com/_mock/openapi/transactions/leases/search
- https://v2.immo-facile.com/api/v2/sitehttps://v2.immo-facile.com/api/v2/site/transactions/leases/search
curl -i -X POST \
https://api-doc.immo-facile.com/_mock/openapi/transactions/leases/search \
-H 'Authorization: Bearer <YOUR_opaque_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"agency_ids": [
123
],
"last_created": "2025-06-01T00:00:00+02:00",
"per_page": 25
}'Response
{ "data": [ { … } ], "meta": { "per_page": 25, "next_cursor": "eyJpZCI6MTIzfQ==", "prev_cursor": "string" }, "links": { "next": "string", "prev": "string" } }