Datasets · Buildertrend
Buildertrend Lead Activities Dataset
Lead activities with the lead, assigned user, status and contact dates.
- Record type
buildertrend:leadActivities - 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.
activityIdstringBuildertrend's id for the lead activity.
leadIdstringBuildertrend's id for the lead the activity belongs to. Joins to the Buildertrend Leads Dataset.
leadNamestringThe title of the lead the activity belongs to, as Buildertrend shows it.
activityTitlestringThe activity's title, such as Call or Site meeting.
assignedUserstringThe name of the Buildertrend user the activity is assigned to.
activityStatusstringPast Due or Pending from Buildertrend's own code, or Completed once the activity has left Buildertrend's activity list (see isCompleted).
One of
Completed,Past Due,PendingcontactDatestringWhen the activity is scheduled, as Buildertrend's activity list sends it. It moves when the activity is rescheduled.
lastContactedDatestringThe last contacted date Buildertrend shows on the activity's row, as sent.
lastContactedBystringThe name Buildertrend shows beside the last contacted date on the activity's row.
notesstringThe activity's notes.
isCompletedbooleanSet by Clickr, not Buildertrend: true once the activity stopped appearing in Buildertrend's activity list. False means no disappearance has been seen, not that the activity is still to do.
completedAtdate and timeWhen Clickr noticed the activity had gone from Buildertrend's activity list, not when anyone completed it.