/api/v1/object/dedup-rulesList the duplicate-detection rule of every object.
List the duplicate-detection rule of every object.
Returns one entry per object, active or not, ordered by object name. An
object that never had a rule set comes back with mode off. Each entry
has the same fields as GET /object/{objectSlug}/dedup-rule, plus
object_slug. The list is not paginated.
Scope: object.dedupRule.read.
Response 200:
{
"status": 200,
"message": "Deduplication rules retrieved successfully",
"data": [
{
"object_slug": "contacts",
"mode": "separate_flag",
"match_keys": ["phone-q8w2e4r6", "email-p0zx7c1v"],
"match_logic": "or"
},
{
"object_slug": "deals",
"mode": "off",
"match_keys": [],
"match_logic": "or"
}
]
}
Send request
Use the documented inputs to call this endpoint directly.
Responses
Successful response
{
"object_slug": "string",
"mode": "off",
"match_keys": "string",
"match_logic": "or",
"comment_targets": "string"
}Values: "off" · "separate_flag" · "unify" · "mirror" · "comment"
Values: "or" · "and"
Bad request
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Unauthorized
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Internal server error
{
"status": 1,
"message": "string",
"code": "string",
"data": {}
}The HTTP status code of the response.
What went wrong. Several validation messages are joined with ", ".
A stable, machine-readable reason. Only some errors set it.
Extra detail about the error. Only some errors set it.
Powered by heyo-docs