Check whether an email already belongs to a person

​

Report the person already holding an email exactly, or null.

Backs the duplicate row in the creation modal. Exact-match only: the underlying filter matches substrings, and surfacing those would flash false duplicates while the user is still typing.

Body·

required
application/json

Request model for checking whether an email already belongs to a person.

  • Email to check for an existing person holding it exactly

Responses

  • application/json
  • application/json
Request Example for post/check_duplicates
curl https://crm.dreamhub.ai/api/v1/people/check_duplicates \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "email": "dana@acme.com"
}'
{
  "person": {
    "id": "string",
    "firstName": "string",
    "lastName": "string",
    "email": "string",
    "status": 1
  }
}