Skip to main content

Contact Existence

POST 

/v1/enrich/contactExistence

Check for the existence of specific contact fields for a given contact from upcell’s database. This endpoint accepts a Contact object and a list of fields to check. The response contains a map where the key is the field and value is true/false for the existence of that field in upcell's database.

Request Body

FieldTypeDescriptionRequired
contactContactContact data to match to check for existence of fields. Supports: linkedinUrl, firstName, lastName, title, companyName, companyDomain, companySocialUrl, email, personalEmail✅ Yes
existenceFieldsarrayList of fields to check for existence (e.g., mobile).✅ Yes

Possible Existence Field Values

  • mobile

Example Request (JSON)

{
"contact": {
"linkedinUrl": "https://www.linkedin.com/in/marklbedard/"
},
"existenceFields": [
"mobile"
]
}


Response

The response returns a map of fields to a boolean (true/false) if that field exists for the given contact in upcell's database.

Example Success Response

{
"fieldsExistence": {
"mobile": true
}
}


Error Handling

The API returns appropriate error messages with status codes if something goes wrong.

Error CodeMessageDescription
400Invalid RequestVerify your request is properly formatted
401UnauthorizedVerify you are using a valid API key
500Internal Server ErrorAn unexpected error occurred.

Example Error Response

{
"error": {
"code": 400,
"message":"Contact is required for existence check"
}
}

Request

Responses

Successful response