HigherData / Tool
crm.push
Propose CRM changes for human review. Creates a pending-approval change set. It never dispatches a HubSpot write; approve fields and call changes.apply separately. Dry run returns the proposal only.
Scopes: crm:write
Send execute false to preview the change. Send execute true to write it. A preview does not change stored data.
REST: POST /api/v1/tools/crm.push?execute=false. The same call is POST /api/v1/crm/push?execute=false.
MCP tool name: crm_push. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| proposals | array | yes | CRM changes to plan. Each item is one operation. 1 to 50 items. |
| proposals[]. | string | yes | CRM object: companies, contacts, or deals. One of: companies, contacts, deals. |
| proposals[]. | string | yes | Why this change is proposed. 1 to 500 characters. |
| proposals[]. | object | yes | Where this proposal came from. |
| proposals[]. | string | yes | Where the value was observed. 1 to 100 characters. |
| proposals[]. | string | no | When the value was observed. ISO date and time. |
| proposals[]. | string | no | Opaque HigherData id of the source record (hdo_ or hdp_). Pattern: ^hd[op]_[A-Za-z0-9_-]+$. |
| proposals[]. | string | yes | Merge two CRM records. The merge cannot be undone in the CRM. One of: merge. |
| proposals[]. | string | yes | CRM id of the record the association starts from. Pattern: ^[1-9][0-9]{0,19}$. |
| proposals[]. | object | yes | CRM properties to write. Keys are property names and values are strings. |
| proposals[]. | array | no | Property names to overwrite even when the CRM already has a value. At most 32 items. Each item: Pattern: ^[a-z][a-z0-9_]{0,127}$. |
| proposals[]. | string | yes | CRM object to associate with. One of: companies, contacts, deals. |
| proposals[]. | string | yes | CRM id of the record to associate with. Pattern: ^[1-9][0-9]{0,19}$. |
| proposals[]. | string | yes | Association category. One of: HUBSPOT_DEFINED, USER_DEFINED, INTEGRATOR_DEFINED. |
| proposals[]. | integer | yes | Association type id. At least 0. |
| proposals[]. | boolean | yes | True adds the association. False removes it. |
| proposals[]. | string | yes | CRM id of the record that is merged away. Pattern: ^[1-9][0-9]{0,19}$. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| sharedCompanies | array | no | Up to five records whose shared domain needs a company choice. At most 5 items. |
| sharedCompanyCount | integer | no | From 0 to 500. |
| dryRun | boolean | yes | |
| changeSet | value | yes | |
| proposals | array | yes | At most 4000 items. |
| samples | array | no | At most 5 items. |
| scannedRecords | integer | no | From 0 to 500. |
| changedRecords | integer | no | From 0 to 500. |
| summary | string | no | At most 512 characters. |
| enrichmentReasons | object | no | |
| matchedRecords | integer | yes | From 0 to 500. |
| nextCursor | string or null | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/crm.push?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"proposals": [
{
"operation": "fields",
"objectType": "companies",
"externalId": "10",
"properties": {
"city": "Toronto"
},
"reason": "Fill an empty field from HigherData Core.",
"provenance": {
"source": "higherdata_core"
}
}
]
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("crm.push", {
"proposals": [
{
"operation": "fields",
"objectType": "companies",
"externalId": "10",
"properties": {
"city": "Toronto"
},
"reason": "Fill an empty field from HigherData Core.",
"provenance": {
"source": "higherdata_core"
}
}
]
}, { execute: false });Example
{
"input": {
"proposals": [
{
"operation": "fields",
"objectType": "companies",
"externalId": "10",
"properties": {
"city": "Toronto"
},
"reason": "Fill an empty field from HigherData Core.",
"provenance": {
"source": "higherdata_core"
}
}
]
},
"output": {
"dryRun": true,
"changeSet": null,
"proposals": [
{
"id": "00000000-0000-4000-8000-000000008502",
"objectType": "companies",
"externalId": "10",
"kind": "fill_blank",
"operation": "field",
"field": "city",
"before": null,
"after": "Toronto",
"reason": "Fill an empty field from HigherData Core.",
"provenance": {
"source": "higherdata_core"
},
"fromChangeId": null
}
],
"nextCursor": null,
"matchedRecords": 0
}
}