Read a WhatsApp conversation

Read a bounded page of messages from one WhatsApp conversation in chronological order. Pass the exact conversation_id returned by list_conversations or search_messages as conversationId.

post/api/v1/tools/get_conversation

Request

  • Base URL: https://whatsync.app
  • URL: https://whatsync.app/api/v1/tools/get_conversation
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Headers

Idempotency-Keystring

Stable key for a write; body idempotencyKey takes precedence.

Request body

conversationIdstring required

The exact conversation_id value returned by another WhatSync tool

beforestring date-time

Return messages before this ISO timestamp

cursorstring

Opaque next_cursor returned by the previous page

limitinteger

Number of messages to return; defaults to 20

Response

JSON result. Every response includes X-Request-Id.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.