We need this endpoint to search for a contact if they exist in the integration. It should normally be a GET request with a query parameter of an email. The response should include the full contact object with the integration's reference ID.
GET /contacts?email=[email protected]
{
"exists": true,
"data": {
"email": "[email protected]",
"id": 12345
}
}
This is just an example of the response. The only required fields would be to have the ID and the email. If there are no contacts found, please leave an empty response or repsond with 404 Not Found.