Skip to main content
POST
Read recent messages from a DM chat

Body

application/json
contact
string
required

Contact ID, phone, or WhatsApp identity

account
string

WhatsApp account ID (accepted for compatibility; local history is account-independent)

fields
string

Compact mode: keep only these fields of each message

last
string

Number of messages to read (default: 10)

noAck
boolean
default:false

Deprecated compatibility no-op; dm read never sends a receipt

Response

Success — body conforms to the @Returns schema.

{key}
any