Skip to main content
GET
Get Conversation
Returns the conversation history for a specific subscriber.

Pagination

offset skips that many messages before it starts returning results. Say the conversation has 30 messages and you set limit=10: Each time, add limit to the previous offset to keep paging through older messages.

Query Parameters

apiToken
string
required

Your ChatSyncs API key (not a WhatsApp/Meta access token). Where to find it.

Example:

"API-KEY"

phone_number_id
string
required

The WhatsApp account's phone number ID. Where to find it.

Example:

"PHONE-NUMBER-ID"

phone_number
string
required

The subscriber's phone number, with country code, digits only.

Example:

"PHONE-NUMBER"

limit
number
required

How many conversation messages to fetch.

Example:

10

offset
number

Pagination offset.

Example:

1

Response

200 - application/json

Standard ChatSyncs response. status is "1" on success and "0" on failure.

status
string

"1" = success, "0" = failure.

message
string

Human-readable result message.