GET /leads/duplicates: find by phone or email

Looks for existing leads with this phone or email. Use it before adding, or to find a lead from a form.

Looks for existing leads with this phone or email. Use it before adding, or to find a lead from a form.

MethodAddressNeeds
GET/v1/api/leads/duplicatesleads.create

Query parameters

NameTypeDescription
phonestringA phone number.
emailstringAn email address.
excludeIduuidLeave this lead out of the matches.
  • Send at least one of phone or email. Up to 5 matches, newest first; an empty list means no match.
  • It looks across the whole workspace, so a match can be a lead someone else owns.

Example request

curl "https://api.crm.thevisionsage.com/v1/api/leads/duplicates?phone=9876500001" \
  -H "Authorization: Bearer vsa_YOUR_API_KEY"

Example response

{
  "success": true,
  "data": [
    {
      "id": "01a147f9-6d70-7000-8b7d-808b3dce7f7c",
      "name": "Priya Sharma",
      "email": "priya@example.com",
      "phone": "9876500001",
      "stage": {
        "name": "New"
      },
      "owner": {
        "name": "Asha Admin"
      },
      "createdAt": "2026-10-17T03:48:11.247Z"
    }
  ]
}

Something missing or unclear? Tell us and we will fix this page.