Datasets ยท Buildertrend
Buildertrend Leads Dataset
Lead opportunities with their contact, salesperson, status and estimated revenue.
- Record type
buildertrend:leads - Read it with List records, or the MCP tool list_dataset_records.
Request
curl -G https://api.clickr.cloud/v2/datasets/{datasetId}/records \
-H "Authorization: Bearer $CLICKR_API_KEY" \
--data-urlencode "limit=10"const response = await fetch(`https://api.clickr.cloud/v2/datasets/{datasetId}/records?${new URLSearchParams({
"limit": "10"
})}`, {
headers: {
Authorization: `Bearer ${process.env.CLICKR_API_KEY}`,
},
});
const data = await response.json();import os
import requests
response = requests.get(
"https://api.clickr.cloud/v2/datasets/{datasetId}/records",
headers={"Authorization": f"Bearer {os.environ['CLICKR_API_KEY']}"},
params={
"limit": "10"
},
)
data = response.json()Fields
Every field a record can carry. Filter and sort on them by name, as in filter[jobName][contains]=patel. A field without a value can be missing from a record.
leadIdstringBuildertrend's id for the lead. Lead activities and lead proposals carry the same id as their leadId.
builderIdstringBuildertrend's id for the builder account the lead belongs to.
opportunityTitlestringThe lead opportunity's title, with leading and trailing spaces removed.
leadStatusstringThe lead's status in Buildertrend, as a label. Absent when the lead has no status set.
One of
Pending,In progress,On hold,Sold,Lost,No opportunityconfidencenumberBuildertrend's confidence figure for the lead, as the number Buildertrend sends.
proposalStatusCodenumberBuildertrend's code for the status of the lead's proposal, taken from its most recent status change. Not mapped to labels.
proposalStatusUpdatedAtstringWhen the proposal status last changed, as a date and time with no time zone.
proposalStatusUpdatedBystringThe name of the person who made the most recent proposal status change.
salespersonstringThe salesperson assigned to the lead, by name.
sourcestringWhere the lead came from, as recorded in Buildertrend.
projectTypestringThe lead's project type, as set in Buildertrend.
contactIdstringBuildertrend's id for the lead's contact.
contactNamestringThe contact's full name. Usually the only name on the lead, since Buildertrend often leaves firstName and lastName blank.
firstNamestringThe contact's first name, when it was entered separately. Often blank even when contactName is set.
lastNamestringThe contact's last name, when it was entered separately. Often blank even when contactName is set.
emailsarray of stringsThe contact's email addresses, including any Buildertrend has marked as opted out.
phonestringThe contact's phone number, as entered in Buildertrend.
cellPhonestringThe contact's mobile number, as entered in Buildertrend.
contactStreetstringThe street line of the contact's address.
contactSuburbstringThe suburb line of the contact's address, which Buildertrend uses for non-US addresses.
contactCitystringThe city of the contact's address.
contactStatestringThe state of the contact's address.
contactZipstringThe ZIP or postal code of the contact's address.
opportunityStreetstringThe street line of the address where the work is, which can differ from the contact's address.
opportunitySuburbstringThe suburb line of the address where the work is, which Buildertrend uses for non-US addresses.
opportunityCitystringThe city of the address where the work is.
opportunityStatestringThe state of the address where the work is.
opportunityZipstringThe ZIP or postal code of the address where the work is.
estimatedRevenueMinnumberThe low end of the lead's estimated revenue. Buildertrend sets both ends to the same figure when a single amount was entered.
estimatedRevenueMaxnumberThe high end of the lead's estimated revenue. Equal to estimatedRevenueMin when a single amount was entered.
createdDatestringWhen the lead was created in Buildertrend, as a date and time with no time zone.
projectedSalesDatestringWhen the lead is projected to sell, as a date and time with no time zone.
soldDatestringWhen the lead was sold, as a date and time with no time zone.
proposalLastViewedstringWhen the lead's proposal was last viewed, as a date and time with no time zone.
mostRecentClickstringWhen Buildertrend last recorded a link click on the lead, as a date and time with no time zone.
hasBeenContactedbooleanWhether Buildertrend marks the lead as contacted.
lastContactedDatestringWhen the lead was last contacted, as a date and time with no time zone.
lastContactedBystringThe name of the person who last contacted the lead.
lastContactedActivityTypestringThe type of activity used for the last contact, as Buildertrend names it.
nextActivityDatestringWhen the lead's next activity is scheduled, as a date and time with no time zone.
nextActivityTitlestringThe category of the lead's next scheduled activity, as Buildertrend names it.
nextActivityAssigneestringThe name of the person assigned to the lead's next activity.
notesstringThe lead's notes, as plain text.
attachedFileCountnumberHow many files are attached to the lead.
linksClickednumberHow many links Buildertrend counts as clicked on the lead.
isDeletedbooleanTrue once Buildertrend confirms the lead no longer exists. Clickr keeps the record so you can see it went.
deletedAtdate and timeWhen Clickr saw the lead removed.
presenceCheckedAtdate and timeWhen Clickr last confirmed with Buildertrend that the lead still exists while it sits outside the synced lead list. Cleared when the lead reappears there.