Attach sender emails to campaign
attach_campaign_sender_emailsAttaches connected sender email accounts to a campaign. A campaign only sends through the senders attached to it, so this call decides which mailboxes it uses. Idempotent: already-attached senders are left untouched and only missing ones are added. The call is refused whole when any requested sender is not a connected sender email in the workspace. Attaching to a running campaign reschedules it so the new senders are picked up.
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": {
"id": "<id>",
"senderEmailIds": "<senderEmailIds>"
},
"name": "attach_campaign_sender_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The numeric campaign ID (from list_campaigns) | |
| senderEmailIds | Yes | Sender email IDs to attach (from list_sender_emails). Every ID must be a connected sender email in the workspace |