post https://connect-test.relintex.net/api/v2/lead
Version 2.0 of add lead api. This will create a new lead or reject duplicate leads with an immediate response.
Lead Create Request
Request body should contain all Required fields. If you do not have a value for the required field, please pass an empty/blank value
Kindly provide at least 5 seconds for request timeout
Duplicate Request Validations:
Duplicate leads will be verified and rejected using following rules:
- When matching
phone
is found for an active lead - When matching
email
is found for an active lead - When matching
ref_id
is found for an active lead
Business Rule Validations
The following business rules are applied before the lead is committed:
- If
ssn
contains a value, it should be a valid ssn - If
dob
contains a value, it should be a valid dob - If
phone
contains a value, it should be a valid phone number format (10 digits) - If
email
contains a value, it should be a valid email format - If all the following fields are empty/blank, the request will be rejected
- first_name
- last_name
- phone