SMS Pumping: Protect Your OTP Endpoint and Your Bill
SMS pumping turns your public 'send code' button into someone else's income. How to spot it, and the controls to add to your OTP flow this week.
WhatsApp usernames mean the phone number can vanish from Cloud API webhooks. How to move to BSUIDs, keep CRM records linked and keep OTP working.

Many WhatsApp Cloud API systems I see in Iraq and the Kurdistan Region use the customer's phone number as their customer ID. CRMs, chatbots, support desks, opt-out lists and delivery or payment notifications all look people up by number. WhatsApp usernames change that assumption. When a customer adopts a username, their phone number can stop appearing in the webhooks Meta sends you, and records that used to link up can quietly stop matching.
This article is for developers and IT managers who need to fix that before usernames reach their customers. The rollout is gradual and managed by Meta, so I won't guess a local date. The work is the same either way.
To support usernames, Meta began sharing a new identifier in April 2026: the business-scoped user ID, or BSUID. According to Meta's developer documentation, supporting BSUIDs is required for all partners and directly integrated businesses on the WhatsApp Business Platform, as well as click-to-WhatsApp advertisers.
The key properties are:
US.13491208655302741918: a two-letter country code, a dot, then the ID. Twilio's changelog notes it can be up to 128 alphanumeric characters, excluding the country code.CC.ENT.… format. If that applies to you, store them as a separate identifier type.The published timeline: businesses can reserve and claim usernames from 29 June 2026, and sending messages to a BSUID is supported from July 2026. Meta has moved these dates before, so treat them as a guide.
For a user with a username, Meta includes their phone number in webhooks for a given business number only if one of these is true:
Status webhooks change in the same way: a recipient_user_id field sits next to recipient_id, and the phone-based field can be missing.
The loss is not permanent. As Infobip's documentation explains, any interaction from a business phone number, outbound or inbound, restores visibility on that number's webhooks. It also adds the user to the contact book, which gives visibility across your whole portfolio. Meta hosts the contact book and no integration work is needed, but I would check that it is enabled in Meta Business Suite under Business settings.
The main fix is simple to describe: stop using the phone number as the primary key. Give every customer your own internal ID, and store phone numbers, BSUIDs, parent BSUIDs and usernames as linked identifiers.
Start with an audit. Search code and databases for wa_id, from, recipient_id and any contact key built from a phone number. Then check the less obvious places: chatbot session state, opt-out and block lists, duplicate checks, analytics, and links into helpdesk, delivery or payment systems.
Here is an example Laravel migration for an identifier table:
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
public function up(): void
{
Schema::create('contact_identifiers', function (Blueprint $table) {
$table->id();
$table->foreignId('contact_id')->constrained()->cascadeOnDelete();
// phone | bsuid | parent_bsuid | username
$table->string('type', 20);
// 128 chars for the ID plus room for prefixes such as "US." or "US.ENT."
$table->string('value', 160);
$table->timestamp('first_seen_at')->nullable();
$table->timestamp('last_seen_at')->nullable();
$table->timestamps();
$table->unique(['type', 'value']);
});
}
public function down(): void
{
Schema::dropIfExists('contact_identifiers');
}
};
If one system serves several business portfolios, add a portfolio column and include it in the unique key, because BSUIDs are only unique within a portfolio.
Every handler for inbound messages, statuses, echoes and system messages should treat the phone number as optional. Check Meta's webhook reference, or your provider's, for the exact field names in your payloads. Then resolve the contact like this:
function resolveContact(?string $bsuid, ?string $phone): ?Contact
{
$byBsuid = $bsuid ? ContactIdentifier::where('type', 'bsuid')->where('value', $bsuid)->first() : null;
$byPhone = $phone ? ContactIdentifier::where('type', 'phone')->where('value', $phone)->first() : null;
$match = $byBsuid ?? $byPhone;
// Both arrived together: record the link for future BSUID-only messages
if ($match && $bsuid && $phone && (! $byBsuid || ! $byPhone)) {
$match->contact->addIdentifier($byBsuid ? 'phone' : 'bsuid', $byBsuid ? $phone : $bsuid);
}
return $match?->contact;
}
Log a message without a number as "BSUID only", not as an error. Otherwise your monitoring fills with false alarms the week usernames reach your customers.
Plan for BSUIDs that change. Because a new phone number brings a new BSUID, one person may build up several historical IDs. Merge records only when you have a verified link, such as both identifiers arriving in the same webhook. Never merge on display name or username alone.
In my view, a BSUID or username is a routing identifier, not proof of identity. Usernames are chosen and changed by the user. For KYC, payments or account recovery, keep relying on a verified phone number or stronger factors.
Send to the phone number whenever you have it; that interaction also keeps the number visible in your webhooks. Use the recipient field with the BSUID only when the number never arrived. The documentation for an open-source Cloud API library I have reviewed, which follows Meta's to and recipient fields, notes that when both are supplied, delivery goes to the phone number.
OTP needs care. One-tap, zero-tap and copy-code authentication templates require a phone number and cannot be delivered to a BSUID. For username-only users, plan a fallback: an SMS OTP to a number already verified in your own system, or an in-app passkey. At BulkSMSIraq, which I founded, one API sends OTPs over WhatsApp, Telegram and SMS with automatic SMS fallback. That is one practical way to cover this case.
To get a number back with consent, Meta is adding a REQUEST_CONTACT_INFO button, listed for early July 2026. There is an interactive version for open 24-hour conversations. Outside that window, you can add it as a button to a utility or marketing template. The label cannot be customised, so explain in your message text why you are asking. Record how and when the customer shared their number.
Finally, reserve a business username for each of your numbers. Adopting one does not hide your business phone number. Each number holds one username, and no two numbers share the same one. Publish your official handle on your website and in your app, so customers can spot lookalikes more easily.
| Situation | What to do |
|---|---|
| Phone and BSUID both present | Match, store both, send to the phone number |
| BSUID only | Match on BSUID, send using recipient, log as "BSUID only" |
| OTP needed, no phone in webhook | Use a verified number from your records (SMS) or an in-app passkey |
| Number needed for delivery or KYC | Ask with REQUEST_CONTACT_INFO, explain why, record consent |
If you would rather not do this migration alone, my company, Standing, builds WhatsApp chatbots and business messaging integrations as an official Meta Tech Partner, and this kind of rework is part of that.
The takeaway is short: the phone number is becoming an optional attribute of a WhatsApp customer, not their identity. Give customers your own ID now, and usernames become a routine update rather than a silent break in your records.
🤖 Researched and drafted with AI assistance, guided by my editorial standards. Spotted something wrong? Tell me.