# Get Sub-Account (Formerly Location)

- **URL:** https://marketplace.gohighlevel.com/docs/ghl/locations/get-location
- **Summary:** Get Sub-Account (Formerly Location)

[Skip to main content](https://marketplace.gohighlevel.com/docs/ghl/locations/get-location#__docusaurus_skipToContent_fallback)

Version: v3

Get Sub-Account (Formerly Location)
===================================

GET 

/locations/:locationId
----------------------

Get details of a Sub-Account (Formerly Location) by passing the sub-account id

Request[​](https://marketplace.gohighlevel.com/docs/ghl/locations/get-location#request "Direct link to request")

Responses[​](https://marketplace.gohighlevel.com/docs/ghl/locations/get-location#responses "Direct link to Responses")

*   200
*   400
*   401
*   422

Successful response

Bad Request

Unauthorized

Unprocessable Entity
