ghl_email_list_campaigns
List email campaigns for a location with pagination, status filtering, and name search.
Instructions
List Email Campaigns Get list of email campaigns for a location Endpoint: GET /emails/locations/{locationId}/campaigns/emails (Version header: v3; source: v3/emails-v3.json) Requires a Sub-Account (location) token. OAuth scopes: emails/campaigns.readonly Pagination params: limit, offset — 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_email_list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of campaigns to return. Defaults to 10, minimum is 1, maximum is 20 | |
| offset | No | Number of campaigns to skip for pagination. Defaults to 0, minimum is 0 | |
| search | No | Search text for campaign name | |
| status | No | Filter by campaign status | |
| locationId | Yes | Location ID |