Skip to main content
POST
/
v1.0
/
leads
/
{leadId}
/
inquiry
Add Inquiry
curl --request POST \
  --url https://api.lofty.com/v1.0/leads/{leadId}/inquiry \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "priceMin": 1,
  "priceMax": 10000000,
  "propertyType": [
    "Single Family Home",
    "Condo"
  ],
  "bedroomsMin": 1,
  "bathroomsMin": "1",
  "locations": [
    {
      "city": "Austin",
      "stateCode": "TX"
    }
  ],
  "id": 123,
  "leadUserId": 123,
  "bedroomsMax": 123,
  "bathroomsMax": "<string>",
  "modifyByAgent": true,
  "createTime": "2023-11-07T05:31:56Z",
  "updateTime": "2023-11-07T05:31:56Z",
  "defaultValue": true
}
'
{
  "leadId": 651095960136641
}

Documentation Index

Fetch the complete documentation index at: https://developer.lofty.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

Bearer [access_token]

Content-Type
string
required

application/json

Path Parameters

leadId
integer<int64>
required

Body

application/json

LeadInquirys

priceMin
integer<int64>

Price range lower end

Example:

1

priceMax
integer<int64>

Price range higher end

Example:

10000000

propertyType
string[]

Property types: Single Family Home, Multi-Family, Condo, Townhouse, Mobile Home, Manufactured Home, Vacant Land, Commercial.

Example:
["Single Family Home", "Condo"]
bedroomsMin
integer<int32>

Bed Rooms

Example:

1

bathroomsMin
string

Bath Rooms

Example:

"1"

locations
object[]

Areas the lead is interested in. Each entry is a Location object (city, stateCode, zipCode, county, streetAddress or description). Used by routing rules when the lead's leadTypes do not include Seller (1).

Example:
[{ "city": "Austin", "stateCode": "TX" }]
id
integer<int64>
leadUserId
integer<int64>
bedroomsMax
integer<int32>
bathroomsMax
string
modifyByAgent
boolean
createTime
string<date-time>
updateTime
string<date-time>
defaultValue
boolean

Response

200 - application/json

Successful operation.

Response containing the lead ID.

leadId
integer<int64>

ID of the lead.

Example:

651095960136641