List duplicate clients
List the clients JivoChat flags as duplicates of one client.
GET https://cotlet.dev/api/v1/jivochat/clients/{client_id}/duplicate-clients
read
list_duplicate_clients returns the same list the red icon next to the client data opens in the app: customers who share an email or phone number with this one. Each entry shows the fields you choose between when you merge. The list is empty when the client has no duplicate.
Parameters
| Name | Type | Description |
|---|---|---|
| client_id string required | string | Client ID from list_clients. |
Request
curl https://cotlet.dev/api/v1/jivochat/clients/client_8c41d2/duplicate-clients \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("jivochat", "list_duplicate_clients", {"client_id":"client_8c41d2"}) const result = await cotlet.call('jivochat', 'list_duplicate_clients', {"client_id":"client_8c41d2"}); cotlet call jivochat list_duplicate_clients --data '{"client_id":"client_8c41d2"}' Example response
{
"client_id": "cl_3a91",
"duplicates": [
{
"client_id": "cl_7b20",
"name": "D. Whitfield",
"email": "dana@example.com",
"company": null,
"status": "New",
"category": null,
"description": null
}
]
}