ghl_contact_get_by_business_id
Retrieve a paginated list of contacts associated with a specific business and location. Supports search by name, email, or phone, and pagination via limit, skip, and cursor.
Instructions
Get Contacts By BusinessId Endpoint: GET /contacts/business/{businessId} (Version header: v3; source: v3/contacts-v3.json) OAuth scopes: contacts.readonly Pagination params: limit, skip, startAfter — 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": {
"businessId": "<businessId>",
"locationId": "<locationId>"
},
"name": "ghl_contact_get_by_business_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of records to skip | |
| limit | No | Maximum number of records per page (up to 100, default 25) | |
| query | No | Search query (name, email, phone) | |
| businessId | Yes | Business Id | |
| locationId | Yes | Location Id | |
| startAfter | No | Cursor for pagination (comma-separated name,id pair) |