MailMoo
EndpointsLeads

Change the sender of many leads

Puts a selection of one campaign's leads on another of that campaign's senders. keep_position only swaps the account; restart also starts them again from the first step. The scope must name the campaign. Select by explicit lead ids, or by filter: scope (one campaign, or the whole CRM) plus the same search and conditions as lead search.

POST/campaigns.leads.bulkChangeSender

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.leads.bulkChangeSender" \  -H "Content-Type: application/json" \  -d '{    "scope": {      "kind": "campaign",      "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf"    },    "selection": {      "mode": "ids",      "leadIds": [        "0e7eb83f-f60a-4ca7-95b5-29e3c79907f5"      ]    },    "targetSdrProfileId": "1599a426-65fe-43c3-b890-42da2ef90d6f",    "mode": "keep_position"  }'
{  "changedCount": 0,  "skipped": {    "notEnrolled": 0,    "completed": 0,    "paused": 0,    "alreadyAssigned": 0  }}