Add a column to a campaign
Adds a text column to a campaign's lead table. It starts empty, apart from values the campaign's people and companies already hold under the same name. Fill it with campaigns.leads.bulkSetField and use it in messages as a merge field.
/campaigns.addColumnAuthorization
bearerAuth 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.addColumn" \ -H "Content-Type: application/json" \ -d '{ "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "name": "string" }'{ "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "column": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }}Change how a campaign picks leads POST
Changes the sequence's lead-picking settings: preferNewLeads starts the newest leads first, and company relay tries a colleague at the same company when someone does not answer, up to maxPersonsPerCompany people and optionally only at the given seniority levels. Only what you pass changes. Pass dryRun to see the settings before and after without changing anything.
Rename a campaign column POST
Renames a column in a campaign's lead table. Messages find columns by name, so this is refused while a step's message uses the column as a merge field; change the message first.

