Get Groups For Contact
get_groups_for_contactRetrieve all groups a contact belongs to using a contact ID. This tool lists group memberships, helping you organize and segment contacts effectively.
Instructions
Retrieve all groups a contact belongs to.
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": {
"contact_id": "<contact_id>"
},
"name": "get_groups_for_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| contact_id | Yes | The ContactId to get groups for | |
| max_results | No | Max results (default 500) |