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#

GET/spaces

Returns a page of spaces with the compact column set. Combine any of the filters below; every filter is a query parameter.

Query parameters
Query parameters for GET /spaces
NameTypeDescription
limitoptionalintegerRows per page, 1 to 200. Default 50.
cursoroptionalstringThe next_cursor from the previous page. offset is accepted as an alias.
listing_typeoptionalstringspace, exclusive, or both. Default both.
searchoptionalstringCase-insensitive partial match on the address or title.
areaoptionalstringNeighborhood, partial match.
boroughoptionalstringExact borough or submarket name.
gasoptionalbooleanFilter on gas availability.
ventingoptionalbooleanFilter on venting availability.
availability_statusoptionalstringAvailable, Leased, or Under Contract.
Request
bash
curl "https://www.leasync.ai/api/v1/spaces?limit=50" \
  -H "Authorization: Bearer lsk_live_..."
Response
json
{
  "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#

GET/spaces/{id}

Returns one space with every field, including notes and tags. 404 if the record does not exist or you cannot see it.

Path parameters
Path parameters for GET /spaces/{id}
NameTypeDescription
idrequireduuidThe space id.
Request
bash
curl https://www.leasync.ai/api/v1/spaces/9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44 \
  -H "Authorization: Bearer lsk_live_..."
Response
json
{
  "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#

POST/spaces

Creates a space from a JSON object of column values and returns the full record with status 201. Requires the write scope.

Request
bash
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"
  }'
Response
json
{
  "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#

PATCH/spaces/{id}

Send only the fields that change. Returns the full updated record. Requires the write scope.

Path parameters
Path parameters for PATCH /spaces/{id}
NameTypeDescription
idrequireduuidThe space id.
Request
bash
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"
  }'
Response
json
{
  "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#

DELETE/spaces/{id}

Permanently deletes the space. There is no undo. Requires the write scope.

Path parameters
Path parameters for DELETE /spaces/{id}
NameTypeDescription
idrequireduuidThe space id.
Request
bash
curl -X DELETE https://www.leasync.ai/api/v1/spaces/9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44 \
  -H "Authorization: Bearer lsk_live_..."
Response
json
{
  "data": {
    "id": "9e7c3a51-2b64-4f0d-8c3e-5a1d9b7f2e44",
    "deleted": true
  }
}