communications_unsubscribe_contact
Remove a contact from all email communications in HubSpot by specifying the contact ID and legal basis for unsubscription.
Instructions
Unsubscribe a contact from all email communications
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": {
"contactId": "<contactId>"
},
"name": "communications_unsubscribe_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contactId | Yes | ||
| portalSubscriptionLegalBasis | No | ||
| portalSubscriptionLegalBasisExplanation | No |