Check whether an email already belongs to a lead
Returns the existing leads whose contact holds the email exactly, with their statuses. Empty when nobody holds it.
Body·
required
application/json
Request model for checking whether an email already belongs to a lead's contact.
- Type: stringemailmin length:1max length:256required
Email to check for existing leads whose contact holds it exactly
Responses
- application/json
- application/json
Request Example for post/check_duplicates
curl https://crm.dreamhub.ai/api/v1/leads/check_duplicates \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"email": "dana@acme.com"
}'
{
"leads": [
{
"id": "string",
"name": "string",
"status": 1
}
]
}
