ghl_saas_get_locations
Fetches all SaaS-activated locations for a company using pagination, requiring an agency-level token.
Instructions
REQUIRES AN AGENCY-LEVEL (Company) TOKEN — spec security is Agency-Access-Only. page is a required query param per spec.
Get SaaS Locations
Fetch all SaaS-activated locations for a company with pagination
Endpoint: GET /saas/saas-locations/{companyId} (Version header: v3; source: v3/saas-api-v3.json)
Requires an Agency (company-level) token.
OAuth scopes: saas/company.read
Pagination params: page — pass them to page through full result sets.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"companyId": "<companyId>",
"page": "<page>"
},
"name": "ghl_saas_get_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| companyId | Yes |