> For the complete documentation index, see [llms.txt](https://help.whautomate.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.whautomate.com/product-guides/whautomate-rest-api/locations.md).

# Locations

These locations serve as identifiable entities, allowing for organized management and segmentation of operations across various geographical or functional areas.

**Retrieve Locations:** Fetch a list of locations, enabling access to location-based information within the platform.

**Get Location By Id:** Retrieve detailed information about a specific location using its unique identifier (`locationId`), facilitating targeted access to location-specific data.

<br>

{% openapi src="/files/XTQNERDWI4mzjpexowHX" path="/v1/locations" method="get" %}
[Whautomate DEV-Staging-swagger (3).json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FahbEjyuebtOmryHRqI6G%2FWhautomate%20DEV-Staging-swagger%20\(3\).json?alt=media\&token=406b9827-f629-49a1-b059-306d5d56c418)
{% endopenapi %}

{% openapi src="/files/XTQNERDWI4mzjpexowHX" path="/v1/locations/{locationId}" method="get" %}
[Whautomate DEV-Staging-swagger (3).json](https://810714386-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FF8vuadG7OJ1fFdSBZATv%2Fuploads%2FahbEjyuebtOmryHRqI6G%2FWhautomate%20DEV-Staging-swagger%20\(3\).json?alt=media\&token=406b9827-f629-49a1-b059-306d5d56c418)
{% endopenapi %}
