curl --location --request POST 'https://api.twenty.com/rest/messageChannelMessageAssociations/duplicates' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": [
{
"messageExternalId": "string",
"messageThreadExternalId": "string",
"direction": "INCOMING",
"messageChannelId": "75ffdad4-1f3d-4135-8650-e108fea3e73d",
"messageId": "8540d774-4863-4d2b-b788-4ecb19412e85"
}
],
"ids": [
"string"
]
}'{
"data": [
{
"totalCount": 0,
"pageInfo": {
"hasNextPage": true,
"startCursor": "4a1df9cb-3c22-41ac-bbf4-38ac4439f7fc",
"endCursor": "eccc334e-20b7-4e56-b337-9d25784ce135"
},
"companyDuplicates": [
{
"messageExternalId": "string",
"messageThreadExternalId": "string",
"direction": "INCOMING",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"messageChannelId": "75ffdad4-1f3d-4135-8650-e108fea3e73d",
"messageId": "8540d774-4863-4d2b-b788-4ecb19412e85",
"messageChannel": null,
"message": null
}
]
}
]
}