Newsletters

Get newsletter messages

Fetches recent messages (posts) from a WhatsApp newsletter/channel. Use count to limit results and before (a MessageServerID) to paginate.

GET
/newsletters/{jid}/messages

Fetches recent messages (posts) from a WhatsApp newsletter/channel. Use count to limit results and before (a MessageServerID) to paginate.

Authorization

bearerAuth
AuthorizationBearer <token>

Per-user API token (UUID v4) sent as Authorization: Bearer <token>. Identifies the tenant and user.

In: header

Path Parameters

jid*string

Newsletter JID.

Query Parameters

count?integer

Max messages to return (default 20).

before?integer

Return messages before this MessageServerID (pagination cursor).

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/newsletters/120363401234567890@newsletter/messages?count=20"
{  "success": true,  "messages": [    {      "MessageServerID": 0,      "MessageID": "string",      "Type": "string",      "Timestamp": "2019-08-24T14:15:22Z",      "ViewsCount": 0,      "ReactionCounts": {        "property1": 0,        "property2": 0      }    }  ],  "count": 0}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}
{  "success": false,  "error": "validation failed",  "error_code": "VALIDATION_ERROR",  "timestamp": "2026-06-15T12:00:00Z"}