Spaces
Spaces and exclusive listings share one resource. listing_type is space for an available space you are tracking or exclusive for a listing your workspace represents. New records default to space; pass "listing_type": "exclusive" to create a listing.
Methods: GET POST PATCH DELETE plus notes. Base URL https://www.leasync.ai/api/v1.
Endpoints#
List spaces#
Returns a page of spaces with the compact column set. Combine any of the filters below; every filter is a query parameter.
| Name | Type | Description |
|---|---|---|
limitoptional | integer | Rows per page, 1 to 200. Default 50. |
cursoroptional | string | The next_cursor from the previous page. offset is accepted as an alias. |
listing_typeoptional | string | space, exclusive, or both. Default both. |
searchoptional | string | Case-insensitive partial match on the address or title. |
areaoptional | string | Neighborhood, partial match. |
boroughoptional | string | Exact borough or submarket name. |
gasoptional | boolean | Filter on gas availability. |
ventingoptional | boolean | Filter on venting availability. |
availability_statusoptional | string | Available, Leased, or Under Contract. |
curl "https://www.leasync.ai/api/v1/spaces?limit=50" \
-H "Authorization: Bearer lsk_live_..."{
"data": [
{
"id": "9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44",
"title": null,
"address": "123 Spring St",
"unit": "Ground",
"area": "SoHo",
"borough": "Manhattan",
"asking_rent": "22000",
"size": "1800",
"preferred_use": "Retail",
"venting": true,
"gas": false,
"availability_status": "Available",
"broker_id": null,
"landlord_id": "7d2e…",
"access": "Lockbox",
"possession": "Immediate",
"cross_street": "Mercer St",
"listing_type": "space",
"created_at": "2026-08-12T19:05:44.000Z"
}
],
"next_cursor": "50"
}Retrieve a space#
Returns one space with every field, including notes and tags. 404 if the record does not exist or you cannot see it.
| Name | Type | Description |
|---|---|---|
idrequired | uuid | The space id. |
curl https://www.leasync.ai/api/v1/spaces/9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44 \
-H "Authorization: Bearer lsk_live_..."{
"data": {
"id": "9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44",
"title": null,
"address": "123 Spring St",
"unit": "Ground",
"area": "SoHo",
"borough": "Manhattan",
"asking_rent": "22000",
"size": "1800",
"preferred_use": "Retail",
"venting": true,
"gas": false,
"availability_status": "Available",
"broker_id": null,
"landlord_id": "7d2e…",
"access": "Lockbox",
"possession": "Immediate",
"cross_street": "Mercer St",
"listing_type": "space",
"created_at": "2026-08-12T19:05:44.000Z",
"state": "NY",
"zip": "10012",
"basement_size": "600",
"size_unit": "sqft",
"ceiling_height": "14",
"lease_expiration_date": null,
"parent_space_id": null,
"lat": 40.7246,
"lng": -73.9987,
"images": [],
"additional_info": null,
"external_link": null,
"tag_ids": [],
"notes": [],
"created_by": "a1c2…",
"allowed_users": [],
"updated_at": "2026-08-12T19:05:44.000Z"
}
}Create a space#
Creates a space from a JSON object of column values and returns the full record with status 201. Requires the write scope.
curl -X POST https://www.leasync.ai/api/v1/spaces \
-H "Authorization: Bearer lsk_live_..." \
-H "Content-Type: application/json" \
-d '{
"address": "123 Spring St",
"unit": "Ground",
"area": "SoHo",
"borough": "Manhattan",
"asking_rent": "22000",
"size": "1800",
"preferred_use": "Retail",
"venting": true,
"availability_status": "Available"
}'{
"data": {
"id": "9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44",
"title": null,
"address": "123 Spring St",
"unit": "Ground",
"area": "SoHo",
"borough": "Manhattan",
"asking_rent": "22000",
"size": "1800",
"preferred_use": "Retail",
"venting": true,
"gas": false,
"availability_status": "Available",
"broker_id": null,
"landlord_id": "7d2e…",
"access": "Lockbox",
"possession": "Immediate",
"cross_street": "Mercer St",
"listing_type": "space",
"created_at": "2026-08-12T19:05:44.000Z",
"state": "NY",
"zip": "10012",
"basement_size": "600",
"size_unit": "sqft",
"ceiling_height": "14",
"lease_expiration_date": null,
"parent_space_id": null,
"lat": 40.7246,
"lng": -73.9987,
"images": [],
"additional_info": null,
"external_link": null,
"tag_ids": [],
"notes": [],
"created_by": "a1c2…",
"allowed_users": [],
"updated_at": "2026-08-12T19:05:44.000Z"
}
}Update a space#
Send only the fields that change. Returns the full updated record. Requires the write scope.
| Name | Type | Description |
|---|---|---|
idrequired | uuid | The space id. |
curl -X PATCH https://www.leasync.ai/api/v1/spaces/9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44 \
-H "Authorization: Bearer lsk_live_..." \
-H "Content-Type: application/json" \
-d '{
"availability_status": "Under Contract",
"asking_rent": "21000"
}'{
"data": {
"id": "9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44",
"title": null,
"address": "123 Spring St",
"unit": "Ground",
"area": "SoHo",
"borough": "Manhattan",
"asking_rent": "21000",
"size": "1800",
"preferred_use": "Retail",
"venting": true,
"gas": false,
"availability_status": "Under Contract",
"broker_id": null,
"landlord_id": "7d2e…",
"access": "Lockbox",
"possession": "Immediate",
"cross_street": "Mercer St",
"listing_type": "space",
"created_at": "2026-08-12T19:05:44.000Z",
"state": "NY",
"zip": "10012",
"basement_size": "600",
"size_unit": "sqft",
"ceiling_height": "14",
"lease_expiration_date": null,
"parent_space_id": null,
"lat": 40.7246,
"lng": -73.9987,
"images": [],
"additional_info": null,
"external_link": null,
"tag_ids": [],
"notes": [],
"created_by": "a1c2…",
"allowed_users": [],
"updated_at": "2026-08-12T19:05:44.000Z"
}
}Delete a space#
Permanently deletes the space. There is no undo. Requires the write scope.
| Name | Type | Description |
|---|---|---|
idrequired | uuid | The space id. |
curl -X DELETE https://www.leasync.ai/api/v1/spaces/9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44 \
-H "Authorization: Bearer lsk_live_..."{
"data": {
"id": "9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44",
"deleted": true
}
}