https://wiki.esoui.com/Events
https://wiki.esoui.com/API
Since I am new to this myself, I can not guarantee that you find on those pages what you are looking for.
That is where I always start to look for something.
This might go in the direction you need:
"EVENT_ZONE_CHANGED" as an Event or "GetZoneId(number zoneIndex)" as an api function
I hope this already helps.