Use cases
CRM data hygiene: keep contact records usable
Clean the emails and phone numbers in your CRM, normalize them to E.164, and stop bad data at the door with checks at entry and in bulk.
Updated 2026-11-23
A CRM starts clean and rots from the first import. Reps type numbers in different formats, forms accept anything, events add lists, and people change jobs without telling you. Within months the same person appears three times, a quarter of the emails bounce and nobody trusts the "phone" column. Hygiene is the work of getting that trust back and keeping it.
The problem
Contact data degrades in four ways:
- Format drift.
(415) 555-0123,415.555.0123and+1 415 555 0123are one number written three ways, so duplicates hide and SMS tools reject some of them. - Dead addresses. Domains expire, mailboxes are disabled, people leave. Mail to them bounces, and bounces hurt sender reputation. See hard bounce.
- Junk at entry. Forms accept disposable addresses and invented numbers because nothing checked them.
- Unreachable by design. Role addresses such as
info@reach a function, not a person, and are hard to attribute to a lead.
The flow
- Export the column. Pull the emails (or the phone numbers) from the CRM with their record id. Keep the id column so you can write results back.
- Deduplicate. Duplicates cost a check each in a bulk job. Remove exact repeats first.
- Run a bulk job. Upload the CSV to the bulk endpoint with
type=emailortype=phone. Up to 2,000,000 rows or 100 MB per file. See verify a CSV file in bulk. - Wait for the webhook. Register the
bulk.completedwebhook so your system downloads the result when the job ends, instead of polling. - Write back. Update a status field per record, and for phones overwrite the stored value with
e164. - Gate new data. Add the checks to forms and the CRM's API so bad data is refused at entry. See lead validation.
- Repeat before big sends. Schedule the same job ahead of each campaign.
Decision table
| Signal | Field | Action |
|---|---|---|
| Mailbox accepted | status: deliverable |
Allow, keep as active |
| Domain gone or no mail server | status: undeliverable with domain_not_found, domain_no_mx, domain_null_mx |
Block from sends, mark for review |
| Mailbox rejected or disabled | reason: mailbox_not_found, mailbox_disabled |
Block from sends |
| Mailbox full | reason: mailbox_full |
Allow after a pause, re-check later |
| Domain accepts every address | checks.catch_all: true |
Allow with caution, watch bounces |
| Disposable inbox | checks.disposable: true |
Review, usually exclude from marketing |
| Role address | checks.role: true |
Allow, tag as shared inbox |
| Could not conclude | status: unknown |
Allow, check again later |
| Phone cannot be read | status: unknown |
Review: the country is missing |
| Phone does not fit its plan | status: invalid |
Mark, ask the contact owner to fix |
| Phone valid | e164 is set |
Overwrite the stored number with e164 |
Results with a temporary reason, such as greylisted, are not cached, so a later run asks the mail server again.
Example
A nightly job checks a single record that a rep just edited, using the endpoint directly:
curl https://api.qelka.com/v1/email \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "sales@example.com", "mode": "full"}'
The part of the response that drives the decision:
{
"object": "email",
"status": "deliverable",
"reason": "accepted_email",
"checks": { "syntax": true, "mx": true, "smtp": true, "catch_all": false, "disposable": false, "role": true },
"score": 90
}
Values are illustrative. The mailbox is accepted, so the record stays active, but checks.role is true, so the CRM tags it as a shared inbox and keeps it out of one-to-one sequences. Role addresses keep the status their checks give them: being one lowers the score, not the status.
For a whole file, the job creation looks like this:
curl -X POST "https://api.qelka.com/v1/bulk?type=email&column=email" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: text/csv" \
--data-binary @contacts.csv
Pitfalls to avoid
Do not overwrite a stored email with anything: the API never rewrites addresses, and did_you_mean is only a suggestion that a person or a rule must accept. Do not delete records on the first failed check, because unknown results and temporary reasons such as greylisted often clear on a later run. Keep a field with the date of the last check, so you can skip recent records and focus the next job on the oldest ones. Finally, keep the original value next to the normalized one for a while, so a wrong merge can be undone. Cleanup is safest when every change can be traced to a result and a date.
What it costs
A bulk email job costs 1 credit per row, a basic phone job 1 and a live one 3, and an IP job 1. The full amount is reserved when the job is created; credits for rows that failed or could not complete go back to your balance when it ends. Bulk jobs need a live key and always bypass the cache, so every row is checked afresh. Upload only the column you need: other columns come back in the result file and add personal data you did not have to send. See pricing and credits.
Related
Frequently asked questions
What is CRM data hygiene?
How often should I clean my CRM contacts?
Should I delete invalid contacts?
How much does a CRM cleanup cost?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time