MailMoo
EndpointsCampaigns

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.

POST/campaigns.addColumn

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.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"  }}