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
| Name | Type | Description |
|---|---|---|
campaignId required | integer | Id of the campaign |
abTesting | boolean | Status of A/B Test. abTesting = false means it is disabled & abTesting = true… |
attachmentUrl | string | Absolute url of the attachment (no local file). Extension allowed: #### xlsx… |
emailExpirationDate | object | To reduce your carbon footprint, set an expiration date for your email. If… |
footer | string | Footer of the email campaign |
header | string | Header of the email campaign |
htmlContent | string | Body of the message (HTML version). If the campaign is designed using Drag &… |
htmlUrl | string | Url which contents the body of the email message. **REQUIRED if htmlContent is… |
increaseRate | integer | Set a percentage increase rate for warming up your ip. We recommend you set… |
initialQuota | integer | Set an initial quota greater than 1 for warming up your ip. We recommend you… |
inlineImageActivation | boolean | Status of inline image. inlineImageActivation = false means image can’t be… |
ipWarmupEnable | boolean | **Available for dedicated ip clients**. Set this to true if you wish to warm… |
mirrorActive | boolean | Status of mirror links in campaign. mirrorActive = false means mirror links… |
name | string | Name of the campaign |
params | object | Pass the set of attributes to customize the type classic campaign. For… |
previewText | string | Preview text or preheader of the email campaign |
recipients | object | Segment ids and List ids to include/exclude from campaign |
recurring | boolean | **FOR TRIGGER ONLY !** Type of trigger campaign.recurring = false means… |
replyTo | string | Email on which campaign recipients will be able to reply to |
scheduledAt | string | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ).… |
sendAtBestTime | boolean | Set this to true if you want to send your campaign at best time. Note:- **if… |
sender | object | Sender details including id or email and name (optional). Only one of either… |
splitRule | integer | Add the size of your test groups. **Mandatory if abTesting = true &… |
subject | string | Subject of the campaign |
subjectA | string | Subject A of the campaign. **Mandatory if abTesting = true**. subjectA &… |
subjectB | string | Subject B of the campaign. **Mandatory if abTesting = true**. subjectA &… |
tag | string | Tag of the campaign |
toField | string | To personalize the **To** Field. If you want to include the first name and… |
unsubscriptionPageId | string | Enter an unsubscription page id. The page id is a 24 digit alphanumeric id… |
updateFormId | string | **Mandatory if templateId is used containing the {{ update_profile }} tag**.… |
utmCampaign | string | Customize the utm_campaign value. If this field is empty, the campaign name… |
utmContent | string | Customize the utm_content value. Appears on outgoing tracking links alongside… |
utmId | string | Customize the utm_id value. Appears on outgoing tracking links alongside… |
utmMedium | string | Customize the utm_medium value. When omitted or empty, the utm_medium entry… |
utmSource | string | Customize the utm_source value. When omitted or empty, the utm_source entry… |
utmTerm | string | Customize the utm_term value. Appears on outgoing tracking links alongside… |
winnerCriteria | open | click | Choose the metrics that will determinate the winning version. **Mandatory if… |
winnerDelay | integer | Choose 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:
{
"name": "brevo_api__update_email_campaign",
"arguments": {
"campaignId": 0
}
}Or connect the Brevo API server directly, which lists 291 tools including this one:
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 ….