ZigBee API

I wonder if anyone can help me. I am developing an application
Zigbee with the API and I need to know if any button is activated (pressed) or not.
If yes, where can find the response. can someone help me?

I don’t know if you still have the same problem, however it is possible to check the status of all I/O, digital or analog, sending a AT command - 0x08 - (or remote AT command - 0x17 - if the button is on another module). the AT command for that is “IS”.
the response frame will indicate whether there are I/Os activated or not, which one are available, and also the status of them through a bitfield (check page 144 from manual).