Live SSE only:
Event envelope
SSE eventdata, timeline event data, and webhook data all carry the event-specific fields. Timeline and webhook deliveries also include the event id, type, token id, and creation time in the outer envelope.
Payload notes
connection.stateincludes astatussuch asopenorclose.auth.qrincludesqr,ttlMs, andcreatedAt.auth.pairedincludesmeJid.message.receivedincludeskey,timestampSeconds,pushName, andmessage.message.sentincludesmessageId,to, andcontentType.message.receiptincludes receipt fields from WhatsApp, commonly message ids and delivery/read status.message.failedincludesto,contentType, andmessage.call.*events include call metadata such ascallId,peerJid,direction,mediaType,state, and timestamps.call.recording.readyincludesrecordingId,kind,contentType,sizeBytes,durationMs, andexpiresAt.stanza.errorandstream.failureinclude protocol or connection error details.