Add activity to a lead.
curl --request POST \
--url https://api.lofty.com/v1.0/leads/{leadId}/activity \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"type": "Search",
"text": "Search",
"link": "https://lofty.com",
"picture": "https://lofty.com/default.jpg",
"created": 1747272300000,
"listing": {
"price": 100000,
"state": "California",
"city": "New York",
"streetAddress": "22348 Regnart RD",
"zipCode": "25401",
"county": "<string>",
"propertyType": "Single Family Home",
"bedrooms": 3,
"bathrooms": 2,
"squareFeet": 100,
"lotSize": 26.33,
"parkingSpace": 1,
"floors": 1,
"mailAddress": true,
"id": 123,
"leadUserId": 123,
"listingId": "<string>",
"autoListingId": 123,
"label": "<string>",
"note": "<string>",
"listingStatus": "<string>",
"labelList": "<string>",
"pictureUrl": "<string>",
"siteListingUrl": "<string>",
"labelType": "<string>",
"priceMax": 10000000,
"priceMin": 100000
},
"scheduledDate": "<string>",
"pageName": "Blog Registration"
}
'{
"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.
Specifies the type of activity being logged for the lead.
Accepted Values:
"Search"
Search Text
"Search"
Url for web page
"https://lofty.com"
Preview picture url
"https://lofty.com/default.jpg"
created time in milliseconds
1747272300000
Lead property or mailing address details
Show child attributes
Scheduled date about this showing request
The page name of the lead's submission(re-inquiry) page
"Blog Registration"
Successful operation.
Response containing the lead ID.
ID of the lead.
651095960136641
curl --request POST \
--url https://api.lofty.com/v1.0/leads/{leadId}/activity \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"type": "Search",
"text": "Search",
"link": "https://lofty.com",
"picture": "https://lofty.com/default.jpg",
"created": 1747272300000,
"listing": {
"price": 100000,
"state": "California",
"city": "New York",
"streetAddress": "22348 Regnart RD",
"zipCode": "25401",
"county": "<string>",
"propertyType": "Single Family Home",
"bedrooms": 3,
"bathrooms": 2,
"squareFeet": 100,
"lotSize": 26.33,
"parkingSpace": 1,
"floors": 1,
"mailAddress": true,
"id": 123,
"leadUserId": 123,
"listingId": "<string>",
"autoListingId": 123,
"label": "<string>",
"note": "<string>",
"listingStatus": "<string>",
"labelList": "<string>",
"pictureUrl": "<string>",
"siteListingUrl": "<string>",
"labelType": "<string>",
"priceMax": 10000000,
"priceMin": 100000
},
"scheduledDate": "<string>",
"pageName": "Blog Registration"
}
'{
"leadId": 651095960136641
}