MailMoo
EndpointsCampaigns

List a campaign's columns

The columns of a campaign's lead table: each one's name, whether AI fills it, whether it can be edited by hand, and whether it is a contact field whose edits come with format warnings. Use the names with campaigns.leads.bulkSetField and in lead filters.

GET/campaigns.listColumns

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Query Parameters

campaignId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/campaigns.listColumns?campaignId=497f6eca-6276-4993-bfeb-53cbbbba6f08&input=%7B%22campaignId%22%3A%2213f8bf6d-dc27-4a04-bffe-6e5b13c19ddf%22%7D"
{  "columns": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "aiColumn": true,      "editable": true,      "contactField": true    }  ]}