Skip to main content
These event names can appear in the token timeline and can be selected when creating a webhook. The live SSE stream also includes short-lived pairing prompts. Live SSE only:

Event envelope

SSE event data, 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.state includes a status such as open or close.
  • auth.qr includes qr, ttlMs, and createdAt.
  • auth.paired includes meJid.
  • message.received includes key, timestampSeconds, pushName, and message.
  • message.sent includes messageId, to, and contentType.
  • message.receipt includes receipt fields from WhatsApp, commonly message ids and delivery/read status.
  • message.failed includes to, contentType, and message.
  • call.* events include call metadata such as callId, peerJid, direction, mediaType, state, and timestamps.
  • call.recording.ready includes recordingId, kind, contentType, sizeBytes, durationMs, and expiresAt.
  • stanza.error and stream.failure include protocol or connection error details.
Call events include metadata only. Raw PCM audio is only available on the call media WebSocket.