ghl_location_search
Search GoHighLevel sub-accounts by email or company ID and paginate results with skip and limit parameters.
Instructions
Search Search Sub-Account (Formerly Location) Endpoint: GET /locations/search (Version header: v3; source: v3/locations-v3.json) Requires an Agency or Sub-Account token. OAuth scopes: locations.readonly Pagination params: skip, limit — pass them to page through full result sets.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ghl_location_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | The value by which the results should be skipped. Default will be 0 | 0 |
| No | |||
| limit | No | The value by which the results should be limited. Default will be 10 | 10 |
| order | No | The order in which the results should be returned - Allowed values asc, desc. Default will be asc | asc |
| companyId | No | The company/agency id on which you want to perform the search |