How to read/write config XBee programmatically

I am using XBee ZigBee (S2C) for my project and can use XCTU or command prompt to configure it.

I have many TI microcontroller and Raspberry Pi in the systems that needs to read some info about the XBee connected to it (ID and other configs).

How do I do that programmatically? That is by writing some C code that runs on the device to read/write the XBee config, instead of manually using XCTU or command prompt?

You have two options. The first is to use the API interface as described on pages 139 - 184 of the manual or you can use AT command mode as described on pages 188 - 207 and 43.

http://ftp1.digi.com/support/documentation/90002002.pdf