Callback endpoint for Brokermint integration to sync transaction updates into Lofty.
The transaction must be linked to Brokermint via the Lofty UI before this endpoint can update it. See the request body schema for supported fields.
curl --request PUT \
--url https://api.lofty.com/v1.0/brokermint/transaction \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"id": 10001,
"agentId": 100001,
"agentName": "Jane Doe",
"address": "123 Main St",
"city": "Los Angeles",
"state": "CA",
"zip": "90012",
"status": "Closed",
"transactionType": "Purchase",
"price": 1000000,
"representing": "Buyer",
"acceptanceDate": "2023-11-07T05:31:56Z",
"expirationDate": "2023-11-07T05:31:56Z",
"closedAt": "2023-11-07T05:31:56Z",
"closingDate": "2023-11-07T05:31:56Z"
}
'{
"code": 0,
"message": "success"
}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.
Brokermint-sourced transaction payload.
Lofty transaction ID to update. Required; used to look up the existing Lofty transaction and the Brokermint-link record in bm_task_item.
10001
Lofty user ID of the agent who will own the transaction. Overwrites the existing ownerId.
100001
Agent's display name. Currently ignored by the handler.
"Jane Doe"
Street address of the property. Overwrites the stored property address when provided.
"123 Main St"
City of the property. Overwrites the stored value when provided.
"Los Angeles"
State or province of the property. Overwrites the stored value when provided.
"CA"
Postal / ZIP code of the property. Overwrites the stored value when provided.
"90012"
Transaction status from Brokermint. Only the values "Closed" and "Cancelled" trigger a pipeline status change on the Lofty side; any other value is silently ignored.
Closed, Cancelled "Closed"
Transaction type. Case-sensitive. Only the four values below are recognized; any other value is silently ignored.
Purchase, Listing, Lease, Other "Purchase"
Home price; mapped to Lofty's homePrice field.
1000000
Side the agent represented in the deal. Currently ignored by the handler.
"Buyer"
Offer acceptance date. Currently ignored by the handler.
Listing / contract expiration date. Mapped to Lofty's expiration field.
Actual close date. Mapped to Lofty's closeTime field.
Scheduled closing date. Mapped to Lofty's expectedCloseTime field (note: the Brokermint term "closing date" is interpreted as "expected close" on the Lofty side).
Envelope {code, message}. code=0 indicates applied; code=200060 indicates the transaction was not found (either the Brokermint link is missing or the transaction was deleted). HTTP status is 200 in both cases.
Simple envelope response used by Brokermint webhook and property-address endpoints. Business failures surface as HTTP 200 with a non-zero code; integrators must inspect the code field.
curl --request PUT \
--url https://api.lofty.com/v1.0/brokermint/transaction \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '
{
"id": 10001,
"agentId": 100001,
"agentName": "Jane Doe",
"address": "123 Main St",
"city": "Los Angeles",
"state": "CA",
"zip": "90012",
"status": "Closed",
"transactionType": "Purchase",
"price": 1000000,
"representing": "Buyer",
"acceptanceDate": "2023-11-07T05:31:56Z",
"expirationDate": "2023-11-07T05:31:56Z",
"closedAt": "2023-11-07T05:31:56Z",
"closingDate": "2023-11-07T05:31:56Z"
}
'{
"code": 0,
"message": "success"
}