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

Parameters: list_duplicate_clients
NameTypeDescription
client_id string required string Client ID from list_clients.

Request

cURL
curl https://cotlet.dev/api/v1/jivochat/clients/client_8c41d2/duplicate-clients \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("jivochat", "list_duplicate_clients", {"client_id":"client_8c41d2"})
Node.js
const result = await cotlet.call('jivochat', 'list_duplicate_clients', {"client_id":"client_8c41d2"});
CLI
cotlet call jivochat list_duplicate_clients --data '{"client_id":"client_8c41d2"}'

Example response

JSON

{
  "client_id": "cl_3a91",
  "duplicates": [
    {
      "client_id": "cl_7b20",
      "name": "D. Whitfield",
      "email": "dana@example.com",
      "company": null,
      "status": "New",
      "category": null,
      "description": null
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.