Overview
List endpoints that can return many records take two query parameters: page, the zero-based page number, and size, the number of records per page. Request page 0, then keep increasing page until a page comes back with fewer records than you asked for.
The page and size parameters
Paged list endpoints include the WhatsApp template, catalog, flow and QR-link lists, WhatsApp bulk insights, the RCS contact list, the Telegram sender list and the email and push client lists. The OpenAPI spec marks which list endpoints accept page and size.
| Parameter | Type | Notes |
|---|---|---|
| page | integer | Zero-based page number. Start at 0. |
| size | integer | Records per page, for example 10 or 50. |
curl "https://api.broadnet.me/whatsapp/template/list?page=0&size=50" \
-H "Authorization: Bearer $BROADNET_TOKEN"Practical tips
- Stop when a page returns fewer records than the size you requested.
- Some list endpoints also take startDate and endDate filters. Narrow the range instead of paging through everything.
- Not every list is paged: GET /sms/list, for example, returns all of your bulk SMS jobs in one response.
- Retry a failed page with backoff on 5xx errors. See Retries & backoff.