ghl_opportunity_get_lost_reason
Retrieve lost reasons for opportunities in a GoHighLevel location. Filter by name, search query, deleted status, and paginate results to analyze why deals were lost.
Instructions
Get lost reason Endpoint: GET /opportunities/lost-reason (Version header: v3; source: v3/opportunities-v3.json) OAuth scopes: opportunities.readonly Pagination params: skip, limit — 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": {
"locationId": "<locationId>"
},
"name": "ghl_opportunity_get_lost_reason"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | lost reason name | |
| skip | No | skip | |
| limit | No | limit | |
| query | No | search query | |
| deleted | No | deleted | |
| getCount | No | get count | |
| locationId | Yes | Identifier of the location (sub-account) |