Is there a way to detect when the Xbee module is polling its parent device?

We have a microcontroller managing the sleep states on an end device using the pin-sleep functionality but unsure how long to stay awake for so that the Xbee is able to poll its parent and receive any messages that are queued.

I currently have the module in API mode with AO = 3 and don’t receive any messages over the serial port when the devices polls.

Which XBee module and firmware version are you referring to?

Xbee3 Zigbee, version 1003