> For the complete documentation index, see [llms.txt](https://apidocs.plannrcrm.com/llms.txt)

# Check for potential duplicates of a lead

> POST /api/v1/leads/check-duplicates
> 
> Matches unpromoted leads and individual clients in the firm on exact first name, last name
> (case-insensitive) and date of birth. A promoted lead is not matched; its client account is. Records the
> caller cannot view are returned with their names withheld. Lead detection is always on and does not
> depend on the firm's duplicate client detection feature.



## Servers
- https://api.plannrcrm.com: https://api.plannrcrm.com


## Authentication methods
- Personal access token & O auth2


## Parameters
### Headers

- **X-PLANNR-ACCOUNT-UUID** (string)




### Body: application/json (object)

- **first_name** (string)
  First name of the lead being created or edited.

- **last_name** (string)
  Last name of the lead being created or edited.

- **date_of_birth** (string(date))
  Date of birth of the lead being created or edited.

- **exclude_lead_uuid** (string(uuid) | null)
  UUID of the lead being edited, so it is not matched against itself or against matches already dismissed for it.



## Responses
### 200


#### Body: application/json (object)
- **data** (array[object])


### 403
Unauthorized

#### Body: application/json (object)
- **message** (string)
  A human-readable description of the error.


### 422
Validation error

#### Body: application/json (object)
- **message** (string)
  A human-readable description of the error.

- **errors** (object)
  Validation messages keyed by the field that failed.



[Powered by Bump.sh](https://bump.sh)
