Integrations
Send records to your HubSpot account
Sends the given Model Match records into the HubSpot account you have connected, using the field mapping your workspace configured. Existing records are matched and updated rather than duplicated, so sending the same list twice does not create it twice. Every id you send comes back with an outcome — some records failing is normal and does not fail the rest. At most 100 records per request; send larger lists in batches. There is no undo: use dryRun first to see exactly what would be written. Charged per record actually written, at the same rate as fetching that record.
Authorization
Body application/json
dryRunbooleandefault: falseResolve the records, apply the mapping and report exactly what would be written — without writing anything. There is no undo on a real push; use this first.
entityenumrequiredThe kind of Model Match record the ids refer to — originator for loan officers, agent for real estate agents. Required, and checked against what your workspace configured: if they disagree the request is refused rather than writing records built from the wrong mapping.
agentoriginatoridsstring[]requiredRecord ids to send, at most 100 per request. Loan officers are identified by NMLS id, agents by their Model Match id. Duplicates are collapsed.
objectenumrequiredWhich kind of HubSpot record to write. Your workspace decides which Model Match records feed each one.
contactcompanyResponses
200objectPer-record outcome. Check `summary` for what landed.Show attributesHide attributes
billingobjectrequiredShow child attributesHide child attributes
chargednumber | nullrequirednotestringdryRunbooleanrequiredentityenumrequiredThe kind of Model Match record the ids refer to — originator for loan officers, agent for real estate agents. Required, and checked against what your workspace configured: if they disagree the request is refused rather than writing records built from the wrong mapping.
agentoriginatorobjectenumrequiredWhich kind of HubSpot record to write. Your workspace decides which Model Match records feed each one.
contactcompanyportalIdstringrequiredThe HubSpot account these records were written to.
portalRecordedbooleanrequiredWhether your workspace's setup records which HubSpot account it was built for. When false, consider saving it so a member on a different account can be warned before sending.
resultsobject[]requiredShow child attributesHide child attributes
crmRecordIdstringThe record's id in your HubSpot account, when written.
idstringrequiredmessagestringpreservedstring[]Fields left untouched because your HubSpot record already had a value and the mapping says not to overwrite.
reasonenumnot_foundmissing_dedupe_valueduplicate_dedupe_valuerejectedstatusenumrequiredcreatedupdatedskippedfailedwould_createwould_updatesummaryobjectrequiredShow child attributesHide child attributes
creatednumberrequiredfailednumberrequiredrequestednumberrequiredskippednumberrequiredupdatednumberrequired400objectValidation or setup mismatch401objectUnauthorized402objectNot enough credits to send this many records403objectNo active workspace409objectRefused before writing anything — not connected, wrong HubSpot account, or a mapping that cannot be applied safely502objectHubSpot or billing could not be reached. Nothing was sent.