Skip to content

[Feature]: BSUID and username support #642

Description

@rachit-navatech

Pre-flight

  • I searched existing issues and this isn't already requested

Problem / motivation

WhatsApp is rolling out usernames and Business-Scoped User IDs (BSUIDs) starting July 7, 2026, going global by September.
The short version: phone numbers become optional. Users can hide their number behind a username, and Meta assigns each user a unique BSUID per business portfolio (e.g. US.13491208655302741918). BSUIDs are already flowing in webhooks since April 2026.
This affects OpenWA in a few ways:

  • Contact lookup currently assumes phone numbers as the primary key. Need BSUID-first resolution with phone fallback.
  • REST API / webhooks need to accept and return BSUIDs alongside phone numbers.
  • Existing contacts need a migration path — users who enable usernames won't expose their number anymore, so phone-only workflows break.

Refs:

Meta docs on BSUIDs
Similar: whatsapp-web.js #201728, Baileys #2516

Proposed solution

No response

Alternatives considered

No response

Scope

  • I understand some features are limited by the underlying WhatsApp engine (e.g. interactive Buttons/List messages are not supported on whatsapp-web.js).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions