Home / Servers / Brevo API / update_email_campaign

Update an email campaign

An MCP tool from the Brevo API server, hosted on mcp.hjlabs.in.

Update an email campaign Update an existing email campaign''s properties such as name, subject, content, sender, recipients, schedule, and A/B testing configuration. The campaign must exist and the request body must contain… [PUT /emailCampaigns/{campaignId}]

Name on the gateway: brevo_api__update_email_campaign · may change things.

Parameters

NameTypeDescription
campaignId requiredintegerId of the campaign
abTestingbooleanStatus of A/B Test. abTesting = false means it is disabled & abTesting = true…
attachmentUrlstringAbsolute url of the attachment (no local file). Extension allowed: #### xlsx…
emailExpirationDateobjectTo reduce your carbon footprint, set an expiration date for your email. If…
footerstringFooter of the email campaign
headerstringHeader of the email campaign
htmlContentstringBody of the message (HTML version). If the campaign is designed using Drag &…
htmlUrlstringUrl which contents the body of the email message. **REQUIRED if htmlContent is…
increaseRateintegerSet a percentage increase rate for warming up your ip. We recommend you set…
initialQuotaintegerSet an initial quota greater than 1 for warming up your ip. We recommend you…
inlineImageActivationbooleanStatus of inline image. inlineImageActivation = false means image can’t be…
ipWarmupEnableboolean**Available for dedicated ip clients**. Set this to true if you wish to warm…
mirrorActivebooleanStatus of mirror links in campaign. mirrorActive = false means mirror links…
namestringName of the campaign
paramsobjectPass the set of attributes to customize the type classic campaign. For…
previewTextstringPreview text or preheader of the email campaign
recipientsobjectSegment ids and List ids to include/exclude from campaign
recurringboolean**FOR TRIGGER ONLY !** Type of trigger campaign.recurring = false means…
replyTostringEmail on which campaign recipients will be able to reply to
scheduledAtstringUTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ).…
sendAtBestTimebooleanSet this to true if you want to send your campaign at best time. Note:- **if…
senderobjectSender details including id or email and name (optional). Only one of either…
splitRuleintegerAdd the size of your test groups. **Mandatory if abTesting = true &…
subjectstringSubject of the campaign
subjectAstringSubject A of the campaign. **Mandatory if abTesting = true**. subjectA &…
subjectBstringSubject B of the campaign. **Mandatory if abTesting = true**. subjectA &…
tagstringTag of the campaign
toFieldstringTo personalize the **To** Field. If you want to include the first name and…
unsubscriptionPageIdstringEnter an unsubscription page id. The page id is a 24 digit alphanumeric id…
updateFormIdstring**Mandatory if templateId is used containing the {{ update_profile }} tag**.…
utmCampaignstringCustomize the utm_campaign value. If this field is empty, the campaign name…
utmContentstringCustomize the utm_content value. Appears on outgoing tracking links alongside…
utmIdstringCustomize the utm_id value. Appears on outgoing tracking links alongside…
utmMediumstringCustomize the utm_medium value. When omitted or empty, the utm_medium entry…
utmSourcestringCustomize the utm_source value. When omitted or empty, the utm_source entry…
utmTermstringCustomize the utm_term value. Appears on outgoing tracking links alongside…
winnerCriteriaopen | clickChoose the metrics that will determinate the winning version. **Mandatory if…
winnerDelayintegerChoose the duration of the test in hours. Maximum is 7 days, pass 24*7 = 168…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "brevo_api__update_email_campaign",
  "arguments": {
    "campaignId": 0
  }
}

Or connect the Brevo API server directly, which lists 291 tools including this one:

Run in your terminal
claude mcp add --transport http hj-brevo-api https://mcp.hjlabs.in/mcp/brevo-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the update an email campaign tool with campaignId set to ….

More from Brevo API