Skip to main content
Auth: TokenAccount or TokenInstance on every route. Each call validates the instance ownership. This section covers the /api/newsletter/* routes for creating channels, listing subscriptions, getting details, following, and unfollowing. Channels have JIDs ending in @newsletter (different from group @g.us JIDs).

Endpoints

Accepted identifiers

The info, join, and leave endpoints accept:

NewsletterChannel model

Channel states

Error envelope

WhatsMeow client support

Some routes depend on WhatsMeow client functions that may not be available in certain builds. When that happens, the server returns HTTP 501 with specific messages:
  • WhatsApp client does not support newsletter creation
  • WhatsApp client does not support listing newsletters
  • WhatsApp client does not support FollowNewsletter
  • WhatsApp client does not support UnfollowNewsletter

Error reference (summary)

Next

Create channel

Create a new channel linked to the account.

List channels

Return subscribed channels.