XBee S6B API AT Comunication.

Hi, Guys.

I’d like to send and receive AT Commands in API mode to/from a XBee S6B/Pro logged on my home network thru my internet router.
Is is possible to do this ? Can I read the XBee pin state using simply the putty software just calling device’s IP and port ?
If the answer was positive, can you explain the method here ?

Thank’s