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.
Example Request
Pagination
offset is a page number, starting at 1 — it is not a count of messages to skip. limit is the page size (up to 50),
and page 1 holds the newest messages. Say the conversation has 30 messages and you set limit=10:
offset. The response carries nextOffset, the value to send next.
What comes back
Each row has asender — user for the contact, bot for messages sent by a flow, a team member or the API,
ai_agent, sequence, or system for notes such as Label added: Interested Lead. message_content is a JSON
string: for messages the contact sent it is the whole WhatsApp webhook, for messages you sent it is the request that
was sent, so parse it before reading it. A limit below 1 behaves as 1, a limit that isn’t a whole number is rejected
(The limit must be an integer.), and past the last page you get an empty list with nextOffset null.Query Parameters
Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.
"API-KEY"
The WhatsApp account's phone number ID. Where to find it.
"PHONE-NUMBER-ID"
The subscriber's phone number, with country code, digits only.
"PHONE-NUMBER"
Rows per page, up to 50.
10
The page number, starting at 1 — not a count of rows to skip. 0 and 1 both return the first page; 2 returns the next. The response's nextOffset is the value to send next.
1

