Page through Whats91 list endpoints with the page/limit and limit/offset conventions and read the pagination block correctly.
Pagination
Summary
Page through Whats91 list endpoints with the page/limit and limit/offset conventions and read the pagination block correctly.
Prerequisites
- A Whats91 account
Related documentation
Whats91 list endpoints use one of two paging conventions. Reference and management endpoints page by page number; order endpoints page by offset. Both return a pagination object alongside the rows.
Page-Based Paging
Used by templates, webhooks, chatbots, contact books, blacklist entries, reports, conversations, and billing history.
| Parameter | Type | Default | Description |
|---|---|---|---|
| page | integer | 1 | One-based page number. Values below 1 are clamped to 1. |
| limit | integer | 50 | Rows per page. Maximum 100; larger values are clamped. |
curl "https://graph.whats91.com/api/v2/templates?page=2&limit=50" \
-H "Authorization: Bearer w91_live_xxx"Offset-Based Paging
Used by the order endpoints.
| Parameter | Type | Default | Description |
|---|---|---|---|
| limit | integer | 25 | Rows per request, 1 to 100. |
| offset | integer | 0 | Number of rows to skip. Must be zero or positive. |
{
"pagination": {
"limit": 25,
"offset": 0,
"count": 25,
"total": 74,
"has_more": true
}
}Paging Safely
- Stop when has_more is false, or when the returned row count is smaller than the requested limit.
- Records can be created while you page. For exports, filter by an explicit date range so the result set is stable.
- Do not assume a fixed maximum page size across families; read the per-endpoint reference.
- Report endpoints are counted against a separate platform rate limit, so a wide export should pace its requests.
Related Documentation
Overview
Introduction to Whats91 public API v2 and its canonical endpoint surface.
Quick Start
Generate a v2 token and send your first WhatsApp text message through Whats91.
Authentication
Authenticate public v2 requests with managed Whats91 bearer tokens.
API Keys
Generate and manage managed w91_live_ API tokens from the Whats91 dashboard.