Task Details
make run-docker
Endpoints:
-
localhost:8000/
,localhost:8000/health/check
Response:{"status_code":200,"data":"success"}
-
localhost:8000/identify
Request Payload:
{
"email": "[email protected]",
"phone": "+4917612345670"
}
Response:
{
"status_code": 200,
"data": {
"contact": {
"PrimaryContactID": 1,
"emails": [
"[email protected]",
"[email protected]"
],
"phoneNumbers": [
"+4917612345670",
"+4917612345672",
"+4917612345671"
],
"secondaryContactIds": [
2,
3
]
}
}
}