HigherData / Tool
changes.reject
Reject selected fields, or all pending/approved fields when changeIds is omitted. Does not write HubSpot.
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/changes.reject?execute=false. The same call is POST /api/v1/changes/reject?execute=false.
MCP tool name: changes_reject. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Change set id. UUID. |
| changeIds | array | no | Change rows to include. Omit it to include every row in the set. 1 to 4000 items. Each item: UUID. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| dryRun | boolean | yes | |
| action | string | yes | One of: approve, reject, apply. |
| changeSet | object | yes | |
| changeSet. | string | yes | UUID. |
| changeSet. | string | yes | |
| changeSet. | object | yes | |
| changeSet. | string | yes | One of: user, api_key. |
| changeSet. | string | yes | UUID. |
| changeSet. | string | yes | One of: draft, pending_approval, approved, applying, applied, partially_applied, failed, rejected, restored. |
| changeSet. | value | yes | |
| changeSet. | value | yes | |
| changeSet. | object | no | |
| changeSet. | object | no | |
| changeSet. | integer | yes | At least 0. |
| changeSet. | integer | yes | At least 0. |
| changeSet. | integer | yes | At least 0. |
| changeSet. | integer | yes | At least 0. |
| changeSet. | integer | yes | At least 0. |
| changeSet. | integer | yes | At least 0. |
| changeSet. | integer | no | At least 0. |
| changeSet. | integer | no | At least 0. |
| changeSet. | integer | no | At least 0. |
| changeSet. | object | yes | |
| changeSet. | string | yes | ISO date and time. |
| changeSet. | string | yes | ISO date and time. |
| changeSet. | string | no | At most 512 characters. |
| changeSet. | string | no | At most 100 characters. |
| changeSet. | array | yes | At most 4000 items. |
| changeSet. | string | yes | At most 200 characters. |
| changeSet. | array | yes | At most 1000 items. |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/changes.reject?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"id": "00000000-0000-4000-8000-000000008501"
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("changes.reject", {
"id": "00000000-0000-4000-8000-000000008501"
}, { execute: false });Example
{
"input": {
"id": "00000000-0000-4000-8000-000000008501"
},
"output": {
"dryRun": true,
"action": "reject",
"changeSet": {
"id": "00000000-0000-4000-8000-000000008501",
"sourceTool": "crm.enrich",
"actorLabel": "Dmitri Kowalski",
"principal": {
"type": "user",
"id": "00000000-0000-4000-8000-000000008503"
},
"status": "pending_approval",
"restoresId": null,
"restoreMode": null,
"counts": {
"pending": 1
},
"createdAt": "2026-10-02T12:00:00Z",
"updatedAt": "2026-10-02T12:00:00Z",
"recordLabels": [
{
"objectType": "companies",
"id": "10",
"label": "Acme Works",
"url": "https://app.hubspot.com/contacts/30/record/0-2/10"
}
],
"changes": [
{
"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,
"status": "pending",
"explicitApproval": false,
"approvedBy": null,
"appliedBy": null,
"appliedAt": null,
"resultId": null,
"error": null
}
]
}
}
}