---
title: "Update a WhatsApp campaign"
method: PUT
path: "/whatsappCampaigns/{campaignId}"
tags: ["WhatsApp Campaigns"]
---

# Update a WhatsApp campaign

`PUT /whatsappCampaigns/{campaignId}`

## Path parameters

- `campaignId` integer, required

## Request body

- UpdateWhatsAppCampaign
  - `campaignName` string — Name of the campaign
  - `campaignStatus` 'scheduled' | 'suspended' — Status of the campaign
  - `rescheduleFor` string — Reschedule the sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) of campaign. **Prefer to pass your timezone in date-time format for accurate result.For example: **2017-06-01T12:30:00+02:00** Use this field to update the scheduledAt of any existing draft or scheduled WhatsApp campaign.
  - `recipients` CreateWhatsAppCampaignRecipients — Segment ids and List ids to include/exclude from campaign
    - `excludedListIds` integer[] — List ids to exclude from the campaign
    - `listIds` integer[] — **Mandatory if scheduledAt is not empty**. List Ids to send the campaign to
    - `segments` integer[] — **Mandatory if listIds are not used**. Segment ids to send the campaign to.

## Response `204`

WhatsApp Campaign has been updated

## Other responses

- `400` — bad request
- `404` — Campaign id not found

---

[API](https://skmtc.net/getbrevo/apis/brevo-api.md) · [All operations](https://skmtc.net/getbrevo/apis/brevo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getbrevo/brevo-api/revisions/2aec3cf66501/schema)
