Skip to main content
POST
Get newsletter messages

Authorizations

apikey
string
header
required

Your Pilot Status API key (ps_...). Evolution GO also accepts Authorization: Bearer <key>.

Body

application/json
jid
string
required

Newsletter JID (ends in @newsletter).

Example:

"120363012345678901@newsletter"

count
integer

Maximum number of messages to return.

Example:

50

before_id
integer

Return messages older than this message id (pagination cursor).

Example:

100

Response

Success — provider-native response body.

Handler wraps an array of types.NewsletterMessage in a { message, data } envelope. NewsletterMessage has no JSON struct tags, so fields are serialized with their Go (PascalCase) names.

message
string

Always "success" on HTTP 200.

data
object[]

Newsletter messages, newest-first, paginated by count/before_id.