curl --request GET \
--url https://app.herondata.io/api/end_users/{end_user_heron_id}/duplicate_end_users \
--header 'x-api-key: <api-key>'{
"duplicates": [
{
"created": "2025-12-05T10:00:53.638653",
"end_user_heron_id": "eus_abc123"
}
]
}Find duplicate end users for the given end user by matching on EIN (federal_tax_id) or normalized legal business name. Only returns duplicates within the same user (lender). Matching strategy: (1) Priority - Match by EIN when available (fast indexed query), (2) Fallback - Match by normalized company_legal_business_name when EIN is missing. Requires the count_duplicate_end_users feature flag to be enabled for the user.
curl --request GET \
--url https://app.herondata.io/api/end_users/{end_user_heron_id}/duplicate_end_users \
--header 'x-api-key: <api-key>'{
"duplicates": [
{
"created": "2025-12-05T10:00:53.638653",
"end_user_heron_id": "eus_abc123"
}
]
}Was this page helpful?