Skip to main content
GET
Subscriber List
Lists subscribers on a WhatsApp bot.

Pagination and ordering

offset skips that many subscribers before it starts returning results. Say you have 20 subscribers and set limit=5: Each time, add limit to the previous offset to get the next page. orderBy controls which subscriber comes first:

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"

limit
number
required

How many subscribers to fetch.

Example:

10

offset
number

Pagination offset.

Example:

1

orderBy
number

Set to 1 to sort by most recent message first. Set to 0 (default) for default order.

Example:

0

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.