# Include State, Country and City in Location Field for /rooms API

**URL:** <https://devforum.zoom.us/t/include-state-country-and-city-in-location-field-for-rooms-api/6857>\
**Category:** API and Webhooks\
**Created:** [November 29, 2019, 5:21am UTC](https://devforum.zoom.us/t/include-state-country-and-city-in-location-field-for-rooms-api/6857 "2019-11-29T05:21:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ameya](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@ameya](https://devforum.zoom.us/u/ameya)\
**Post date:** [November 29, 2019, 5:21am UTC](https://devforum.zoom.us/t/include-state-country-and-city-in-location-field-for-rooms-api/6857/1 "2019-11-29T05:21:28Z")

</div>

**Description/Error**  
When we get the response for /rooms API, we get the location. But even if we have put the room in hierarchy like country or state, we do not get that information in this API.

**Which Endpoint/s?**  
/rooms

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. GET /rooms
2. See Location field  
Expected: Include Country, State and City fields too  
Actual: These fields are not sent.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 2, 2019, 11:48pm UTC](https://devforum.zoom.us/t/include-state-country-and-city-in-location-field-for-rooms-api/6857/2 "2019-12-02T23:48:37Z")

</div>

Hey @ameya,

Currently for the [GET /rooms endpoint](https://marketplace.zoom.us/docs/api-reference/zoom-api/rooms/listzoomrooms), the response payload is what is listed on our docs.

Try using the [GET /rooms/locations](https://marketplace.zoom.us/docs/api-reference/zoom-api/rooms-location/listzrlocations) which includes the location.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ameya](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@ameya](https://devforum.zoom.us/u/ameya)\
**Post date:** [December 6, 2019, 2:26am UTC](https://devforum.zoom.us/t/include-state-country-and-city-in-location-field-for-rooms-api/6857/3 "2019-12-06T02:26:16Z")

</div>

Perfect, that works great for me!

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 6, 2019, 5:21pm UTC](https://devforum.zoom.us/t/include-state-country-and-city-in-location-field-for-rooms-api/6857/4 "2019-12-06T17:21:29Z")

</div>

Happy to hear! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:05pm UTC](https://devforum.zoom.us/t/include-state-country-and-city-in-location-field-for-rooms-api/6857/5 "2020-08-21T19:05:44Z")

</div>

Closed on August 21, 2020, 7:05pm UTC


