HigherData / Tool
hygiene.orphans
List contacts and deals with no associated company, including the company match and its evidence. Ambiguous matches are listed and not proposed.
Scopes: data:read
This tool reads. It does not write.
REST: POST /api/v1/tools/hygiene.orphans?execute=false. The same call is POST /api/v1/hygiene/orphans?execute=false.
MCP tool name: hygiene_orphans. It is in the default MCP catalog when your scopes allow it.
Input
| Field | Type | Required | Description |
|---|---|---|---|
| objectType | string | no | CRM object to list. One of: contacts, deals. |
| status | string | yes | Which orphans to include. One of: open, resolved. |
| limit | integer | yes | Maximum orphans in this page. From 1 to 50. |
| cursor | string | no | Cursor from the previous page. Omit it for the first page. UUID. |
Output
| Field | Type | Required | Description |
|---|---|---|---|
| orphans | array | yes | At most 50 items. |
| nextCursor | value | yes | |
| summary | object | no | |
| summary. | value | yes | |
| summary. | string | yes | ISO date and time. |
| summary. | object | yes | |
| summary. | integer | yes | At least 0. |
| summary. | integer | yes | At least 0. |
| summary. | array | yes | At most 18 items. |
| summary. | value | yes | |
| summary. | value | yes | |
| summary. | boolean | yes |
Request
curl -sS -X POST "https://higherdata.io/api/v1/tools/hygiene.orphans?execute=false" \
-H "Authorization: Bearer hd_example_replace_me" \
-H "Content-Type: application/json" \
-d '{
"objectType": "contacts",
"status": "open"
}'SDK
import { HigherData } from "higherdata-sdk";
const higherdata = new HigherData({
apiKey: "hd_example_replace_me",
apiUrl: "https://higherdata.io",
});
const result = await higherdata.call("hygiene.orphans", {
"objectType": "contacts",
"status": "open"
}, { execute: false });Example
{
"input": {
"objectType": "contacts",
"status": "open"
},
"output": {
"orphans": [
{
"id": "11111111-1111-4111-8111-111111111111",
"objectType": "contacts",
"externalId": "31",
"companyId": "11",
"candidateIds": [
"11"
],
"match": "proposed",
"confidence": 90,
"evidence": {
"summary": "Contact email domain matches one company.",
"fields": [
"email domain"
]
},
"status": "open",
"connectionId": "22222222-2222-4222-8222-222222222222"
}
],
"nextCursor": null
}
}