Place an inquiry for a lead.
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.
LeadInquirys
Price range lower end
1
Price range higher end
10000000
Property types: Single Family Home, Multi-Family, Condo, Townhouse, Mobile Home, Manufactured Home, Vacant Land, Commercial.
["Single Family Home", "Condo"]Bed Rooms
1
Bath Rooms
"1"
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).
Show child attributes
[{ "city": "Austin", "stateCode": "TX" }]Successful operation.
Response containing the lead ID.
ID of the lead.
651095960136641
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
}