Skip to content

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 78 and 0033612345678, 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

  1. At booking or label creation. Validate the recipient phone with the phone endpoint. Send country from the destination address, and store e164.
  2. Choose the notification channel. Use line_type: SMS for mobile, voice or email for landline. For the North American plan, which returns fixed_line_or_mobile, send the SMS and use delivery reports to learn.
  3. Verify the email for tracking links. Use the email endpoint so the tracking message reaches the person.
  4. 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.
  5. Use live lookups where routing matters. For SMS routes that depend on the carrier, read carrier.name at the live level.
  6. Re-validate before re-delivery. If the first attempt failed, check that the number you hold is still the right shape before the second.
  7. 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:

bash
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:

json
{
  "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.

Frequently asked questions

How does phone validation reduce failed deliveries?
It removes the part of the failure that is data: numbers with a missing digit, numbers without a country code, and landlines that cannot receive a text. Delivery notices then go to numbers that can receive them. It cannot predict whether the recipient will be home, but it makes sure the message has a destination in the right format.
Which format should I store phone numbers in?
E.164: a plus sign, the country calling code and the number, with no spaces or punctuation, as defined by ITU-T E.164. The phone response returns it 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?
Only when the carrier matters, for example to pick a route or to know whether a number was ported. The basic level reads the numbering plan and is enough to check validity and line type. A live lookup costs more, sends the number to a lookup provider, and answers about the current carrier rather than whether the line is active.
What does it cost per shipment?
A basic phone check costs 1 credit and an email check 1. Results are cached for 7 days, so repeat recipients are not billed again. Errors are not billed. A bulk job can check a whole manifest, reserving credits per row and refunding the unused ones. The free plan includes 100 credits a month.

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