curl --request POST \
--url https://api.wppfy.com/newsletter/updates \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"jid": "120363123456789012@newsletter",
"count": 50,
"afterid": 12345
}
'{
"response": [
{
"messageid": "3EB0B4302B3A8A52F7A1",
"serverid": 12345,
"type": "text",
"timestamp": "2026-03-24T19:00:00Z",
"viewsCount": 1540,
"reactionCounts": {
"👍": 35,
"🔥": 11
}
}
]
}{
"error": "invalid newsletter jid"
}{
"error": "client not found"
}{
"error": "connection closed"
}{
"error": "WhatsApp did not answer the message updates request"
}Newsletters and Channels
Fetch channel message updates
deprecated
Deprecated. WhatsApp does not respond to the updates query (message_updates): the API gives up after 10 seconds and responds 504.
For post views and reactions, use POST /newsletter/messages, which returns viewsCount and reactionCounts for each post.
Parameters kept for compatibility:
afteridfilters updates after aserveridsincefilters by the time of the update, in seconds or milliseconds
POST
/
newsletter
/
updates
curl --request POST \
--url https://api.wppfy.com/newsletter/updates \
--header 'Content-Type: application/json' \
--header 'token: <api-key>' \
--data '
{
"jid": "120363123456789012@newsletter",
"count": 50,
"afterid": 12345
}
'{
"response": [
{
"messageid": "3EB0B4302B3A8A52F7A1",
"serverid": 12345,
"type": "text",
"timestamp": "2026-03-24T19:00:00Z",
"viewsCount": 1540,
"reactionCounts": {
"👍": 35,
"🔥": 11
}
}
]
}{
"error": "invalid newsletter jid"
}{
"error": "client not found"
}{
"error": "connection closed"
}{
"error": "WhatsApp did not answer the message updates request"
}Authorizations
Body
application/json
Channel JID. Accepts the full format 120363123456789012@newsletter or just the numeric identifier.
Example:
"120363123456789012@newsletter"
Maximum number of updates returned.
Required range:
x >= 1Example:
50
Returns only updates after the given serverid.
Required range:
x >= 1Example:
12345
Cutoff timestamp.
- If greater than
1000000000000, it is interpreted as milliseconds. - Otherwise, it is interpreted as seconds.
Example:
1710000000
Response
Channel message updates retrieved successfully
List of channel message updates.
Show child attributes
Show child attributes
