Industries
Phone and email validation for logistics
Reach recipients on the first delivery attempt: validate phone numbers for delivery notices and clean contact data in shipping and booking flows.
Updated 2026-11-23
In logistics, a contact detail is a delivery instrument. The recipient's phone number is how a driver warns of arrival, how a locker sends its code and how a failed attempt turns into a rescheduled one. Numbers collected by shops, forms and partner systems come in every possible format, often with a digit wrong. Every bad one is a missed message and, often, a second delivery attempt that costs real money.
The problem
- Inconsistent formats. Partner systems hand over numbers as
0612345678,+33 6 12 34 56 78and0033612345678, and some tools only accept one form. - No country code. International shipments need to know which country a number belongs to.
- Landlines receiving texts. Delivery notices sent to fixed lines never arrive.
- Placeholders. Shippers with a required phone field fill it with filler.
- Business contacts. B2B deliveries need a person at a dock, and role addresses such as
reception@can slow every handover.
The flow
- At booking or label creation. Validate the recipient phone with the phone endpoint. Send
countryfrom the destination address, and storee164. - Choose the notification channel. Use
line_type: SMS formobile, voice or email forlandline. For the North American plan, which returnsfixed_line_or_mobile, send the SMS and use delivery reports to learn. - Verify the email for tracking links. Use the email endpoint so the tracking message reaches the person.
- Check partner manifests in bulk. Run the phone column of an incoming manifest through a bulk job and flag rows that need a call to the shipper. See verify a CSV file in bulk.
- Use live lookups where routing matters. For SMS routes that depend on the carrier, read
carrier.nameat the live level. - Re-validate before re-delivery. If the first attempt failed, check that the number you hold is still the right shape before the second.
- Protect self-service forms. On public booking and tracking forms, add IP signals to deter scripted use. See signup fraud prevention.
Decision table
| Signal | Field | Action |
|---|---|---|
| Number cannot be read | status: unknown |
Step up: ask for the country, retry with country |
| Number does not fit its plan | status: invalid |
Block at booking, or flag the manifest row for the shipper |
| Number is valid | e164 is set |
Allow: store it |
| Mobile | line_type: mobile |
Allow: SMS notices |
| Landline | line_type: landline |
Allow: voice or email notices |
| North American number | line_type: fixed_line_or_mobile |
Allow: try SMS |
| Premium-rate number | line_type: premium_rate |
Block |
| Destination country differs from number country | country.code |
Review: possible international recipient |
| Email cannot receive mail | status: undeliverable |
Step up: ask for another |
| Shared inbox for a B2B delivery | checks.role: true |
Allow, add a named dock contact when possible |
Example
A shipper books a parcel to France, and the form received the number in national format. The server validates it with the destination country:
curl https://api.qelka.com/v1/phone \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone": "06 12 34 56 78", "country": "FR"}'
The part of the response that drives the decision:
{
"object": "phone",
"input": "06 12 34 56 78",
"valid": true,
"status": "valid",
"e164": "+33612345678",
"country": { "code": "FR", "name": "France", "calling_code": "33" },
"line_type": "mobile"
}
Values are illustrative. The label stores +33612345678, and the notice goes out by SMS. For a row with status: invalid, the system would flag the booking and ask the shipper for a correct number before the parcel is dispatched, instead of finding out at the door.
Pitfalls to avoid
Do not assume a valid number is a reachable person. The basic level reads the numbering plan and cannot see a disconnected line, so keep your delivery-report feedback loop. Do not store numbers without the country: the same national digits mean different numbers in different countries, so carry country through every system. Avoid overwriting a number a driver confirmed by phone with one from an older manifest. And do not run live lookups on every parcel: they cost more and send the number to a lookup provider, so reserve them for cases where the current carrier changes what you do.
What it costs
A basic phone check costs 1 credit, a live lookup 3 and an email check 1. A manifest of rows run as a bulk job costs the sum of its rows, reserved at the start and refunded for rows that could not complete, with up to 2,000,000 rows per file. Results are cached for 7 days, so frequent recipients are not billed again. Errors are never billed. The free plan includes 100 credits a month. See pricing.
Related
Frequently asked questions
How does phone validation reduce failed deliveries?
Which format should I store phone numbers in?
e164 for every valid number. Couriers, SMS providers and routing software all accept it, so storing it avoids a conversion step in each system.Should I use live lookups for delivery notices?
What does it cost per shipment?
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