Add contact to audience
addContactToAudiencePut a contact in an audience. By default the contact has to exist already, because a mistyped address would become a permanent row nobody asked for: the createContact tool adds it first, or pass createContact: true to save the address as a contact on the spot. Adding somebody to a list sends nothing to them.
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": {
"audienceId": "<audienceId>",
"email": "<email>"
},
"name": "addContactToAudience"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| audienceId | Yes | ||
| createContact | No | When true, an address that is not a contact yet is saved as one first, which also needs the contacts:write scope. Left out or false, such an address is refused. |