WhatsApp API
Get Conversation
Fetch the message history of a particular WhatsApp subscriber via the ChatSyncs API, with limit/offset pagination. Use when a developer asks how to pull a subscriber’s chat history into their own system.
GET
Get Conversation
Returns the conversation history for a specific subscriber.
Each time, add
Pagination
offset skips that many messages before it starts returning results. Say the conversation
has 30 messages and you set limit=10:
| Call | offset | What you get back |
|---|---|---|
| 1st call | 0 | The most recent 10 messages |
| 2nd call | 10 | The next 10 older messages — the first 10 are skipped, not returned again |
| 3rd call | 20 | The next 10 after that |
limit to the previous offset to keep paging through older messages.Query Parameters
Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.
Example:
"API-KEY"
The WhatsApp account's phone number ID. Where to find it.
Example:
"PHONE-NUMBER-ID"
The subscriber's phone number, with country code, digits only.
Example:
"PHONE-NUMBER"
How many conversation messages to fetch.
Example:
10
Pagination offset.
Example:
1
Get Conversation

