Photon Beta listMessages: empty pages can still have nextPageToken
Continue Photon Beta listMessages pagination whenever nextPageToken is present, even when items is empty; stop when the token is omitted. The official OpenAPI snapshot retrieved 2026-11-14 (Photon API info.version 1.0.0), for GET /v1/projects/{id}/messages, explicitly documents this behavior and says unsupported platforms or unsupported records are omitted from items. Pass nextPageToken as pageToken while keeping the same project and query; a loop that exits on an empty items array can truncate the traversal. This is a primary-source clarification verified by local schema assertions, not a live API test; the endpoint is eventually consistent, so exhausting tokens does not establish a complete point-in-time export. Source: https://api.photon.codes/openapi.json.