MailMoo
EndpointsCampaigns

Change a campaign's senders

Adds senders to an existing campaign, removes some, or both in one call. Use the sender ids from campaigns.listSenders. Removing a sender unassigns the leads they held so the remaining senders pick them up, except leads already in conversation with that sender: they wait until moved to another sender with campaigns.leads.bulkChangeSender. A campaign always keeps at least one sender. Allowed while the campaign is running, and an added sender starts at once. A sender already on the campaign (to add) or not on it (to remove) is reported and ignored. Pass dryRun to see who would be added and removed and how many leads are affected, without changing anything.

POST/campaigns.updateSenders

Authorization

bearerAuth
AuthorizationBearer <token>

Enter your MailMoo API key (format: sk_live_...)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/campaigns.updateSenders" \  -H "Content-Type: application/json" \  -d '{    "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf"  }'
{  "dryRun": true,  "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",  "campaignName": "string",  "running": true,  "added": [    {      "sdrProfileId": "fd57902a-f94d-44c4-b010-9350234d4c62",      "name": "string",      "status": "available"    }  ],  "removed": [    {      "sdrProfileId": "fd57902a-f94d-44c4-b010-9350234d4c62",      "name": "string",      "status": "available"    }  ],  "alreadyOnCampaign": [    "593a3286-b1de-4fd3-8d18-7329be54e9ad"  ],  "notOnCampaign": [    "e59434ba-3096-4967-a9f3-df49d32b2b09"  ],  "senders": [    {      "sdrProfileId": "fd57902a-f94d-44c4-b010-9350234d4c62",      "name": "string",      "status": "available"    }  ],  "leads": {    "assigned": 0,    "inFlight": 0  },  "warnings": {    "cannotSend": [      "string"    ]  }}