Skip to main content
POST
Request history sync

Authorizations

apikey
string
header
required

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

Body

application/json
messageInfo
object
required

Reference message to sync history before. Contains Chat (JID string), ID (message id), IsFromMe (boolean), IsGroup (boolean), and Timestamp (RFC 3339).

Example:
count
integer

Number of messages to fetch before the reference message.

Example:

50

Response

Success — provider-native response body.

Envelope wrapping the whatsmeow SendResponse for the peer history-sync request message that was sent to the chat.

message
string

Operation status, always "success" on a 200 response.

data
object

whatsmeow.SendResponse for the sent history-sync request message. Field names are PascalCase (struct has no JSON tags).