count. Follow next until it is null, and use each next link as it is. The offset, (page - 1) * page_size, cannot be more than 2,000,000. A deeper page answers 404, and next stops before it.from_date and to_date, the list holds the last 60 days. Give one date, and the other is 60 days away from it. The two dates can be at most 60 days apart. To read deeper than the offset limit, use a smaller window.campaign_log_uuid to list the messages of one campaign run. A campaign holds this value in campaign_log.uuid.Authorization: ********************curl --location 'https://api.sudonum.com/v2/whatsapp/messages/?campaign_log_uuid=&context_data=&direction=&from_date=&from_whatsapp_number=&page=&page_size=&status=&to_date=&to_whatsapp_number=&type=' \
--header 'Authorization: <api-key>'{
"next": "https://api.sudonum.com/v2/whatsapp/messages/?page=2&page_size=2",
"previous": null,
"results": [
{
"uuid": "6f5e33df-e179-4108-9fc9-533af53caea5",
"type": "TEXT",
"status": "DELIVERED",
"status_description": "",
"whatsapp_number": "27104773424",
"direction": "INBOUND",
"from_whatsapp_number": "27833052562",
"from_bsuid": null,
"to_whatsapp_number": "27104773424",
"to_bsuid": null,
"message_data": {
"text": "Hello, World!"
},
"meta_data": {},
"context_data": {},
"campaign_log_uuid": null,
"is_coexistence": false,
"is_history": false,
"created": "2026-08-28T08:25:47.559162Z",
"modified": "2026-08-28T08:25:47.559267Z"
},
{
"uuid": "f7bd1b18-4541-4782-a4a0-8fc4f19796c6",
"type": "IMAGE",
"status": "READ",
"status_description": "read",
"whatsapp_number": "27104773424",
"direction": "INBOUND",
"from_whatsapp_number": "27833052562",
"from_bsuid": null,
"to_whatsapp_number": "27104773424",
"to_bsuid": null,
"message_data": {
"url": "https://api.sudonum.com/v2/whatsapp/media/8c1f0e14-2a77-4d3e-9f1b-6a2c5d0e7b43/",
"caption": "a caption",
"mime_type": "image/jpeg"
},
"meta_data": {},
"context_data": {},
"campaign_log_uuid": null,
"is_coexistence": false,
"is_history": false,
"created": "2026-08-28T08:25:47.557894Z",
"modified": "2026-08-28T08:25:47.557943Z"
}
]
}