Create customer building scorecard
Score a building/landlord lead from PLUTO / ACRIS / HPD attributes. Pass attrs to score what you have; leave fetchFromPluto on (default) to backfill missing attributes from NYC Open Data PLUTO + HPD registrations first. Writes score/tier/XRF eligibility onto the customer and a building_scorecard memory fact.
POST
/workspaces/{organizationId}/customers/{id}/building-scorecardAuthorization
AuthorizationBearer token · headerrequiredWorkspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.
Path parameters
organizationIdstringrequiredidstringrequiredRequest body
application/jsonattrsobjectShow propertiesHide properties
bblstring | nullbinstring | nulladdressstring | nullboroughstring | nullzipcodestring | nullunitsResnumber | nullunitsTotalnumber | nullbuildingSqftnumber | nullassessedTotalDollarsnumber | nullyearBuiltnumber | nulllastSalePriceDollarsnumber | nulllastSaleDatestring | nullhpdRegistrationIdstring | nullhpdManagingAgentstring | nullhpdOwnerNamestring | nullopenViolationsCountnumber | nullfetchFromPlutobooleanResponses
200
Building scorecard breakdown applied to the customer
customerIdstringrequiredattributesobjectrequiredShow propertiesHide properties
bblstring | nullbinstring | nulladdressstring | nullboroughstring | nullzipcodestring | nullunitsResnumber | nullunitsTotalnumber | nullbuildingSqftnumber | nullassessedTotalDollarsnumber | nullyearBuiltnumber | nulllastSalePriceDollarsnumber | nulllastSaleDatestring | nullhpdRegistrationIdstring | nullhpdManagingAgentstring | nullhpdOwnerNamestring | nullopenViolationsCountnumber | nullbreakdownobjectrequiredShow propertiesHide properties
scorenumberrequiredtierstringrequiredAllowed:
ABCDxrfLeadPaintEligiblebooleanrequiredportfolioScalestringrequiredAllowed:
large_multifamilymid_multifamilysmall_multifamilysingle_or_commercialwhyNowstringrequiredfactorsobject[]requiredShow propertiesHide properties
Array of
objectkeystringrequiredlabelstringrequiredpointsnumberrequireddetailstringrequired404
Customer not found