curl --location --request POST 'https://api.twenty.com/rest/taskTargets/duplicates' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": [
{
"taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
"personId": "f3e5ff26-28ff-4cd6-9b1b-e303a185a13a",
"companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
"opportunityId": "3d9795f2-7722-4e1d-b41e-0c5d0c24a902"
}
],
"ids": [
"string"
]
}'{
"data": [
{
"totalCount": 0,
"pageInfo": {
"hasNextPage": true,
"startCursor": "4a1df9cb-3c22-41ac-bbf4-38ac4439f7fc",
"endCursor": "eccc334e-20b7-4e56-b337-9d25784ce135"
},
"companyDuplicates": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"taskId": "e6e9d88a-9b63-468a-aec3-b7a11de27af8",
"personId": "f3e5ff26-28ff-4cd6-9b1b-e303a185a13a",
"companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
"opportunityId": "3d9795f2-7722-4e1d-b41e-0c5d0c24a902",
"task": null,
"person": null,
"company": null,
"opportunity": null
}
]
}
]
}