ghl_affiliate_list_campaigns
Retrieve affiliate campaigns for a GoHighLevel location, with pagination and filters for name, track type, and live mode.
Instructions
List Campaigns Retrieve the list of affiliate campaigns for a location. Endpoint: GET /affiliate-manager/{locationId}/campaigns (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.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_affiliate_list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Number of campaigns to skip | |
| limit | No | Number of campaigns to return, maximum 100 | |
| query | No | Filter campaigns whose name contains this text | |
| locationId | Yes | Location Id | |
| trackTypes | No | Comma separated track types | |
| onlyActiveLiveMode | No | Return only campaigns in live mode |