Skip to content
PluginStats

@chat-adapter/whatsapp weekly downloads statistics

By chat-adapter (14 listings) · npm · AI SDKs

WhatsApp adapter for Chat SDK — Business Cloud API webhooks, interactive messages, and templates

View on npm Fresh · Oct 17, 2026

@chat-adapter/whatsapp has 114,546 recorded weekly downloads on npm, a decrease of 12.1% over the past 30 days.

It ranks #438 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +92.3%.

PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.

Weekly downloads
114,546
Official API · Oct 17, 2026
7-day growth
-50.6%
-117.1K weekly downloads
30-day growth
-12.1%
-15.8K weekly downloads
90-day growth
+92.3%
+55K weekly downloads
Rank
#438
Among tracked npm listings

About @chat-adapter/whatsapp

@chat-adapter/whatsapp

npm package: @chat-adapter/whatsapp

WhatsApp Business Cloud adapter for Chat SDK, using the WhatsApp Business Cloud API.

Documentation: chat-sdk.dev/adapters/official/whatsapp · Guides: vercel.com/kb/chat-sdk

Installation

Scaffold with the CLI

To scaffold a new WhatsApp bot with this adapter preselected:

Visit the adapters directory to see other available official and vendor-official adapters.

Usage

When using createWhatsAppAdapter() without arguments, credentials are auto-detected from environment variables.

WhatsApp Business setup

1. Create a Meta app

1. Go to developers.facebook.com/apps 2. Click Create App, select Business type 3. Add the WhatsApp product to your app 4. Go to WhatsApp > API Setup and note your Phone Number ID and Access Token

2. Configure webhooks

1. Go to WhatsApp > Configuration in your Meta app 2. Set Callback URL to https://your-domain.com/api/webhooks/whatsapp 3. Set Verify Token to a secret string of your choice (this becomes WHATSAPP_VERIFY_TOKEN) 4. Subscribe to the messages webhook field

3. Get credentials

From your Meta app dashboard, copy:

• App Secret (under App Settings > Basic) as WHATSAPP_APP_SECRET • Access Token (under WhatsApp > API Setup) as WHATSAPP_ACCESS_TOKEN • Phone Number ID (under WhatsApp > API Setup) as WHATSAPP_PHONE_NUMBER_ID

For production, generate a permanent System User Token instead of the temporary access token.

Inbound attachments

Incoming media attachments expose a lazy fetchData(). Media is downloaded only from Meta's fbcdn.net and fbsbx.com hosts or the configured Graph origin. Downloads refuse private and internal addresses, are limited to 25 MB, and time out after 30 seconds, and the access token never follows a redirect off those hosts. Pass a custom transport to downloadMedia() to route downloads through a proxy.

Configuration

All options are auto-detected from environment variables when not provided. You can call createWhatsAppAdapter() with no arguments if the env vars are set.

| Option | Required | Description |

| accessToken | No* | Meta access token. Auto-detected from WHATSAPP_ACCESS_TOKEN | | appSecret | No* | App secret for webhook verification. Auto-detected from WHATSAPP_APP_SECRET | | phoneNumberId | No* | Bot's phone number ID. Auto-detected from WHATSAPP_PHONE_NUMBER_ID | | verifyToken | No* | Webhook verification secret. Auto-detected from WHATSAPP_VERIFY_TOKEN | | apiVersion | No | Graph API version (defaults to v25.0) | | userName | No | Bot username for self-message detection. Auto-detected from WHATSAPP_BOT_USERNAME (defaults to whatsapp-bot) | | apiUrl | No | Override the Meta Graph API base URL. Auto-detected from WHATSAPP_API_URL | | logger | No | Logger instance (defaults to ConsoleLogger("info")) |

*Required at runtime — either via config or environment variable.

Environment variables

Webhook setup

WhatsApp uses two webhook mechanisms:

1. Verification handshake (GET) — Meta sends a hub.verify_token challenge that must match your WHATSAPP_VERIFY_TOKEN. 2. Event delivery (POST) — incoming messages, reactions, and interactive responses, verified via X-Hub-Signature-256.

Features

Messaging

| Feature | Supported |

| Post message | Yes | | Edit message | No (WhatsApp limitation) | | Delete message | No (WhatsApp limitation) | | Streaming | Buffered (accumulates then sends) | | Mark as read | Yes | | Auto-chunking | Yes (splits at 4096 chars) | | Template messages | Yes (via sendTemplate) |

Rich content

| Feature | Supported |

| Interactive buttons | Yes (up to 3) | | Link buttons | Partial (single link button becomes a native CTA URL message) | | Button title limit | 20 characters | | List messages | Yes | | Text fallback | Yes (for >3 buttons) |

Conversations

| Feature | Supported |

| Reactions | Yes (add and remove) | | Typing indicator | Yes (requires a recent inbound message, marks it as read, and displays for up to 25 seconds) | | DMs | Yes | | Open DM | Yes |

Typing indicators

WhatsApp supports typing indicators through thread.startTyping() or adapter.startTyping(threadId).

Use it when the bot is about to respond and may take a few seconds. The adapter uses the most recent inbound message ID from thread history, so startTyping() only works after the bot has received a message.

WhatsApp-specific behavior:

• If there is no inbound message context, startTyping() no-ops. • The typing indicator is dismissed when the bot sends its reply, or after the WhatsApp platform timeout.

Read receipts

Use thread.markAsRead() in a message handler to acknowledge the current inbound message:

You can also pass an inbound Message or its ID. WhatsApp marks that message and earlier messages in the conversation as read. It does not allow outgoing message IDs to be marked as read and recommends acknowledging inbound messages within 30 days.

Incoming message types

| Type | Supported |

| Text | Yes | | Images | Yes (with captions) | | Documents | Yes (with captions) | | Audio / Voice | Yes | | Video | Yes (with captions) | | Stickers | Yes | | Locations | Yes (converted to map URL) | | Interactive replies | Yes (button and list) | | Reactions | Yes |

Message history

| Feature | Supported |

| Fetch messages | No (Cloud API limitation) | | Fetch thread info | Yes |

Interactive messages

Card elements are automatically converted to WhatsApp interactive messages:

• 3 or fewer buttons — rendered as WhatsApp reply buttons (max 20 chars per title) • More than 3 buttons — falls back to formatted text • Max body text — 1024 characters

When a card with reply buttons also contains link buttons, each link button is appended to the interactive message body as a Label: url line, since WhatsApp reply buttons cannot open URLs.

Link buttons (CTA URL)

A card whose only interactive element is a single link button is sent as a native CTA URL message with a tappable link button. The card is promoted only when all of these hold:…

Description from the npm listing.

  • chat
  • chat-sdk
  • chatbot
  • whatsapp
  • whatsapp-business
  • bot
  • adapter
  • messaging
  • meta
  • cloud-api
  • ai-agent
  • ai-sdk
  • vercel

Where @chat-adapter/whatsapp sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 22, #18 (overall #438)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs249 listings · 13 pages · page 1, #18 (overall #18)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@chat-adapter/whatsapp weekly downloads on npm, last 90 days: 114,546 weekly downloads as of Oct 17, 2026, +92.3% over 90 days.@chat-adapter/whatsappWeekly downloads on npm · Last 90 days114,546downloads / week+92.3% over 90 days050K100K150K200K250K300KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
@chat-adapter/whatsapp weekly downloads on npm, last 90 days: 114,546 weekly downloads as of Oct 17, 2026, +92.3% over 90 days.
PNG SVG

7/30/90-day growth

@chat-adapter/whatsapp weekly downloads growth on npm: -50.6% over 7 days, -12.1% over 30 days, +92.3% over 90 days.@chat-adapter/whatsappWeekly downloads growth on npm114,546downloads / week now7-day growth-117,149 weekly downloads-50.6%30-day growth-15,759 weekly downloads-12.1%90-day growth+54,976 weekly downloads+92.3%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@chat-adapter/whatsapp weekly downloads growth on npm: -50.6% over 7 days, -12.1% over 30 days, +92.3% over 90 days.
PNG SVG

Ranking history

@chat-adapter/whatsapp npm ranking history: currently #438 (by weekly downloads).@chat-adapter/whatsappnpm ranking · by weekly downloads · Last 90 days#438current rank#100#150#200#250#300#350#400#450Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 17, 2026 – Oct 18, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@chat-adapter/whatsapp npm ranking history: currently #438 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (543)
Recent weekly downloads observations for @chat-adapter/whatsapp
Date (UTC)Weekly downloadsChange vs. previous
114,546-42.9K
157,445-5.9K
163,297-54.5K
217,756-38.9K
256,6210
256,621+8.7K
247,897+16.2K
231,695+24.3K
207,425+13.9K
193,536+25.7K
167,830-434
168,264-37.7K
205,942-1.5K
207,477—

Similar npm AI SDKs plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@chat-adapter/whatsapp. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.