List Message Logs
GET /v1/messages/{messageId}.
The dashboard Logs & Analytics page is the visual counterpart of this endpoint — the same rows, filters, and statuses you see there are what this endpoint returns as JSON.
Headers
x-api-key: ps_...(orx-api-key-id: <api_key_id>) — a number-scoped key. Tenant-scoped keys receive403.
Query parameters
24h service window: WhatsApp opens a 24-hour customer-service window every time a contact messages you.
serviceWindowOpenAtSend records the state of that window at the moment each outbound message was accepted: true means it was a reply inside an open window and was sent immediately; false means it was a “cold” send outside the window — paced by the anti-block engine on Pilot Status web numbers, and requiring an approved template on Meta Cloud API numbers; null means the window was not computed (inbound rows, group/channel destinations). Filter with window=open / window=closed.Examples
Response (200)
Response fields
Retention: rows respect the number’s PII retention mode. On
RELAY_ONLY numbers the rows are returned redacted (content: null).