Blog · Integrations

How to normalize contact records using the REST API

Learn how to normalize contact records using the ContactValidate REST API, parse standardized values, and map verdicts back to your CRM.

Contact records rarely arrive in a uniform shape. Web forms, partner spreadsheets, and manual data entry introduce mixed casing in email addresses, missing country codes on phone numbers, and inconsistent street abbreviations. When those records land in your CRM, duplicate detection breaks and outbound workflows stall.

Normalizing contact records with ContactValidate works best at two points in your pipeline: right when a form is submitted before the record is saved, or during a scheduled cleanup of an export from your CRM. In a single request, the service standardizes the contact values you send and returns a verdict showing whether each value ties back to the same person.

Choosing the right channel for your workflow

ContactValidate offers four ways to run checks depending on where your data lives and how your team operates:

If your immediate goal is cleaning up an existing database or marketing list, review the list cleanup use case or browse all contact validation use cases to see where checks fit best.

Step 1: Send the contact record to POST /v1/validate

Each call to POST /v1/validate accepts one contact name alongside up to five email addresses, five phone numbers, and five mailing addresses. Send the raw values exactly as your form or CRM captured them.

{
  "name": "Jordan Lee",
  "emails": [
    "JORDAN.LEE@EXAMPLE.COM",
    "j.lee@example.com"
  ],
  "phones": [
    "(555) 014-2000",
    "555-0199"
  ],
  "addresses": [
    "1200 Example Ave, Apt 4B"
  ]
}

Here is what each request field controls:

Every check costs 1 credit regardless of the verdict returned. If the third-party identity data provider cannot answer and the check cannot run, the credit is refunded automatically. You can check your remaining credit balance at any time with GET /v1/account, or review pack rates on the pricing page.

Because network timeouts happen in production pipelines, include an idempotency key header whenever your worker sends a request to POST /v1/validate. If your workflow retries after a timeout using the same idempotency key, ContactValidate returns the original result without charging a second credit.

Step 2: Parse standardized values and identity metadata

The API response returns two layers of information for your parser: standardized strings for every value you submitted, and identity-level metadata explaining how those values relate to one another.

First, extract the standardized versions of each email, phone number, and mailing address. Parsing these standardized strings before writing to your CRM keeps formatting uniform across records—for example, consistent lowercase emails and uniform phone and street formatting. Keep in mind that standardizing a mailing address formats the string for database consistency; it is not postal delivery certification.

Second, read the identity summary fields. The response tells you whether the overall record is consistent—meaning no verified value belongs to a different person—and how many distinct identities the verified values belong to. It also returns the identity's first seen date and last seen date, along with the number of days since each date.

When mapping those dates into your CRM, remember that first seen and last seen dates describe the identity as a whole, not any single email, phone number, or mailing address in your payload. Matching is performed by a third-party identity data provider whose data is built from real online activity; you can read more about how verdicts and dates are derived on the methodology page.

If your integration polls for asynchronous results, use GET /v1/jobs/{jobId} to retrieve the completed payload, or consult the developer documentation and MCP guide for full response examples.

Step 3: Map each verdict back to your CRM

Every email, phone number, and mailing address in the response carries a verdict. Your integration should inspect the verdict before deciding whether to promote a standardized value to a primary CRM field, store it as an alternate, or flag it for review.

Verdict Meaning Recommended CRM action
primary_match The value belongs to the identity the record is judged against and is its main value. Write the standardized value to the primary contact field in your CRM.
secondary_match The value belongs to the same identity, but is not its main value. Store the standardized value in a secondary or alternate field in your CRM.
different_identity The value is verified, but it belongs to someone else. Do not overwrite primary fields; flag the record for review or quarantine the mismatched value.
unverified The value could not be tied to any identity. Save the standardized format if needed, but mark the field as unverified.
unknown No usable verdict came back for that value. Leave the existing CRM value unchanged and optionally retry later.
not_provided Returned for a field you did not send in the request. Skip updating that field in your CRM.

Structuring your write-back logic around these six verdicts prevents bad merges. For example, if a user submits a form with a primary_match email and a different_identity phone number, your parser can save the standardized email while withholding the phone number from your main dialer queue until an ops lead reviews it.

Boundaries and permitted use

Knowing what the API does not return helps you avoid building fragile downstream logic. ContactValidate checks are point-in-time evaluations rather than continuous monitoring. The API does not return scores of any kind, does not ping mailboxes or check phone networks, and does not append missing attributes such as job titles, company names, or social profiles.

ContactValidate is not a consumer reporting agency, and you may not use its results for employment or hiring decisions, tenant or rental screening, housing, credit or lending, insurance underwriting, or any other regulated eligibility purpose.

Questions

How many values can I normalize in a single REST API request?

Each request to POST /v1/validate accepts one contact name along with up to five email addresses, five phone numbers, and five mailing addresses. If you need to process larger lists from an export from your CRM, use the batch endpoints for up to 500 rows per batch.

What happens if my workflow retries a request after a timeout?

If you include the same idempotency key when retrying a POST /v1/validate request, ContactValidate returns the original result without charging a second credit. If a check cannot run because the third-party data provider does not answer, the credit is refunded automatically.

Does standardizing a mailing address certify postal delivery?

No. Standardizing formats the address string consistently so your internal database stays uniform, but it is not postal delivery certification. Similarly, ContactValidate does not ping email mailboxes or check phone network status.

Can I use web app plan lookups for REST API requests?

No. Monthly web app plans only cover lookups performed inside the web app, while prepaid credit packs pay for REST API and MCP connector checks. Neither balance pays for the other, and credits purchased in packs never expire.

This article was drafted with AI assistance and checked automatically against ContactValidate’s published methodology and pricing before it was published.

When to check a contact

All use cases · Add ContactValidate to your AI

All articles