ghl_affiliate_validate_customer_lead
Check whether an affiliate customer lead already exists for a location, campaign, and email before creating or updating it.
Instructions
Validate customer lead Check whether a lead already exists for an affiliate customer. Endpoint: GET /affiliate-manager/{locationId}/affiliates/{affiliateId}/lead/validate (Version header: v3; source: v3/affiliate-manager-v3.json) Requires a Sub-Account (location) token. OAuth scopes: affiliate-manager.readonly
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>",
"affiliateId": "<affiliateId>",
"campaignId": "<campaignId>",
"email": "<email>"
},
"name": "ghl_affiliate_validate_customer_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Lead email address | ||
| campaignId | Yes | Campaign Id | |
| locationId | Yes | Location Id | |
| affiliateId | Yes | Affiliate Id |