Clients
Tenants and leads: the people and businesses looking for space. A client is a lead until it signs, then a tenant. Contacts on the record live in the contacts array.
Methods: GET POST PATCH DELETE plus notes. Base URL https://www.leasync.ai/api/v1.
Endpoints#
List clients#
Returns a page of clients 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. |
searchoptional | string | Case-insensitive partial match on the record title or the first contact name. |
priorityoptional | string | One of High, Medium, Low. |
pinoptional | string | One of regular, pinned, hidden. |
useoptional | string | Retail, Office, Restaurant, Industrial, or Residential. |
conceptoptional | string | Business concept, partial match (cafe, gym, and so on). |
client_typeoptional | string | lead or tenant. |
exclude_hiddenoptional | boolean | true returns only the active pipeline (drops hidden records). |
curl "https://www.leasync.ai/api/v1/clients?limit=50" \
-H "Authorization: Bearer lsk_live_..."{
"data": [
{
"id": "4b0d2f6e-9d3a-4c2b-9a1e-1f4b7a2c8d10",
"title": "Blue Bottle Coffee",
"contacts": [
{
"name": "Dana Ruiz",
"email": "dana@bluebottle.com"
}
],
"priority": "High",
"concept": "Cafe",
"use": "Retail",
"preferred_areas": [
"SoHo",
"Nolita"
],
"price_range_min": "15000",
"price_range_max": "25000",
"preferred_sqft_min": "1200",
"preferred_sqft_max": "2000",
"pin": "regular",
"follow_up_at": null,
"last_contacted_at": "2026-09-18T14:02:11.000Z",
"created_at": "2026-09-01T16:40:03.000Z"
}
],
"next_cursor": "50"
}Retrieve a client#
Returns one client 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 client id. |
curl https://www.leasync.ai/api/v1/clients/4b0d2f6e-9d3a-4c2b-9a1e-1f4b7a2c8d10 \
-H "Authorization: Bearer lsk_live_..."{
"data": {
"id": "4b0d2f6e-9d3a-4c2b-9a1e-1f4b7a2c8d10",
"title": "Blue Bottle Coffee",
"contacts": [
{
"name": "Dana Ruiz",
"email": "dana@bluebottle.com"
}
],
"priority": "High",
"concept": "Cafe",
"use": "Retail",
"preferred_areas": [
"SoHo",
"Nolita"
],
"price_range_min": "15000",
"price_range_max": "25000",
"preferred_sqft_min": "1200",
"preferred_sqft_max": "2000",
"pin": "regular",
"follow_up_at": null,
"last_contacted_at": "2026-09-18T14:02:11.000Z",
"created_at": "2026-09-01T16:40:03.000Z",
"client_type": "lead",
"broker_id": null,
"tag_ids": [],
"notes": [],
"created_by": "a1c2…",
"allowed_users": [],
"updated_at": "2026-09-18T14:02:11.000Z"
}
}Create a client#
Creates a client 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/clients \
-H "Authorization: Bearer lsk_live_..." \
-H "Content-Type: application/json" \
-d '{
"title": "Blue Bottle Coffee",
"client_type": "lead",
"contacts": [
{
"name": "Dana Ruiz",
"email": "dana@bluebottle.com"
}
],
"concept": "Cafe",
"use": "Retail",
"priority": "High",
"preferred_areas": [
"SoHo",
"Nolita"
],
"price_range_min": "15000",
"price_range_max": "25000"
}'{
"data": {
"id": "4b0d2f6e-9d3a-4c2b-9a1e-1f4b7a2c8d10",
"title": "Blue Bottle Coffee",
"contacts": [
{
"name": "Dana Ruiz",
"email": "dana@bluebottle.com"
}
],
"priority": "High",
"concept": "Cafe",
"use": "Retail",
"preferred_areas": [
"SoHo",
"Nolita"
],
"price_range_min": "15000",
"price_range_max": "25000",
"preferred_sqft_min": "1200",
"preferred_sqft_max": "2000",
"pin": "regular",
"follow_up_at": null,
"last_contacted_at": "2026-09-18T14:02:11.000Z",
"created_at": "2026-09-01T16:40:03.000Z",
"client_type": "lead",
"broker_id": null,
"tag_ids": [],
"notes": [],
"created_by": "a1c2…",
"allowed_users": [],
"updated_at": "2026-09-18T14:02:11.000Z"
}
}Update a client#
Send only the fields that change. Returns the full updated record. Requires the write scope.
| Name | Type | Description |
|---|---|---|
idrequired | uuid | The client id. |
curl -X PATCH https://www.leasync.ai/api/v1/clients/4b0d2f6e-9d3a-4c2b-9a1e-1f4b7a2c8d10 \
-H "Authorization: Bearer lsk_live_..." \
-H "Content-Type: application/json" \
-d '{
"priority": "Medium",
"follow_up_at": "2026-10-02"
}'{
"data": {
"id": "4b0d2f6e-9d3a-4c2b-9a1e-1f4b7a2c8d10",
"title": "Blue Bottle Coffee",
"contacts": [
{
"name": "Dana Ruiz",
"email": "dana@bluebottle.com"
}
],
"priority": "Medium",
"concept": "Cafe",
"use": "Retail",
"preferred_areas": [
"SoHo",
"Nolita"
],
"price_range_min": "15000",
"price_range_max": "25000",
"preferred_sqft_min": "1200",
"preferred_sqft_max": "2000",
"pin": "regular",
"follow_up_at": "2026-10-02",
"last_contacted_at": "2026-09-18T14:02:11.000Z",
"created_at": "2026-09-01T16:40:03.000Z",
"client_type": "lead",
"broker_id": null,
"tag_ids": [],
"notes": [],
"created_by": "a1c2…",
"allowed_users": [],
"updated_at": "2026-09-18T14:02:11.000Z"
}
}Delete a client#
Permanently deletes the client. There is no undo. Requires the write scope.
| Name | Type | Description |
|---|---|---|
idrequired | uuid | The client id. |
curl -X DELETE https://www.leasync.ai/api/v1/clients/4b0d2f6e-9d3a-4c2b-9a1e-1f4b7a2c8d10 \
-H "Authorization: Bearer lsk_live_..."{
"data": {
"id": "4b0d2f6e-9d3a-4c2b-9a1e-1f4b7a2c8d10",
"deleted": true
}
}