curl --request POST \
--url https://api.wppfy.com/newsletter/messages \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"jid": "120363123456789012@newsletter",
"count": 20
}
'{
"response": [
{
"messageid": "3EB0B4302B3A8A52F7A1",
"serverid": 12345,
"type": "text",
"timestamp": "2026-03-24T18:20:00Z",
"viewsCount": 1200,
"reactionCounts": {
"👍": 22,
"🔥": 7
},
"message": {
"conversation": "Post do canal"
}
}
]
}{
"error": "invalid newsletter jid"
}{
"error": "client not found"
}{
"error": "connection closed"
}Newsletters and Channels
Fetch channel messages
Fetches a channel’s (newsletter) posts/messages directly from WhatsApp.
This route does not depend on locally saved messages and is useful for:
- loading a channel’s recent post history
- paginating earlier messages using
beforeid - consuming newsletter content without database persistence
Channel identification:
- send
idwith the channel’s numeric identifier; the API normalizes it to@newsletter - or send the full
jidin the format1234567890@newsletter
Notes:
countcontrols how many posts to return- prefer using
beforeid beforeidpaginates backward from aserverid- the result is returned in the
responsefield
POST
/
newsletter
/
messages
curl --request POST \
--url https://api.wppfy.com/newsletter/messages \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"jid": "120363123456789012@newsletter",
"count": 20
}
'{
"response": [
{
"messageid": "3EB0B4302B3A8A52F7A1",
"serverid": 12345,
"type": "text",
"timestamp": "2026-03-24T18:20:00Z",
"viewsCount": 1200,
"reactionCounts": {
"👍": 22,
"🔥": 7
},
"message": {
"conversation": "Post do canal"
}
}
]
}{
"error": "invalid newsletter jid"
}{
"error": "client not found"
}{
"error": "connection closed"
}Authorizations
Body
application/json
Channel JID. Accepts the full format 120363123456789012@newsletter or just the numeric identifier.
Example:
"120363123456789012@newsletter"
Number of messages/posts to fetch.
Required range:
x >= 1Example:
20
Returns messages prior to the given serverid.
Use for backward pagination.
Required range:
x >= 1Example:
12345
Response
Channel messages retrieved successfully
List of channel messages/posts returned directly by WhatsApp.
Show child attributes
Show child attributes
