Update WhatsApp Campaign

Updates a WhatsApp campaign at PUT /v1/campaigns/whatsapp/:id. The campaign type is set to
whatsapp. from is the phone number of a WhatsApp channel and is required when the campaign
is not already whatsapp.

The campaign must have finished preprocessing and be draft, scheduled, recurring, or
recurring_paused. A scheduled campaign accepts title, schedule_at, status, and
automation_templates. A draft or recurring campaign also accepts the message, from,
audience filters, and recurring_settings. draft to scheduled sends once at schedule_at.
draft to recurring starts the series.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Campaign ID

Body Params

Update WhatsApp Campaign Params

Request schema for updating a whatsapp campaign at PUT /v1/campaigns/whatsapp/:id.

The campaign type is set to whatsapp. A campaign that is not already whatsapp must include from.

A scheduled campaign accepts title, schedule_at, status, and automation_templates.
A draft, recurring, or recurring_paused campaign also accepts the message, from, the audience
filters, and recurring_settings. recurring_settings is merged with the stored schedule.

attachments
array of strings

List of attachment URLs. Accepted for a draft or recurring campaign.

attachments
automation_templates
array of uuids
length ≤ 50

List of automation template IDs. At most 50.

automation_templates
string

Campaign message body. Limited to 1000 characters.

excluded_audience
array of objects

Whippy Query filter items for the contacts to exclude. Optional. When omitted, the default
campaign exclusions for the channel are applied.

excluded_audience
string

Phone number of the WhatsApp channel. Required when this request changes the campaign to whatsapp.

included_audience
array of objects

Whippy Query filter items for the contacts to include. Optional for a draft. Required when
status is scheduled or recurring.

included_audience
recurring_settings
object | null

Schedule for a recurring SMS series.

cron_expression, timezone, and start_date are required when this object is present.
end_date is optional. Required on create when status is recurring. Optional on a draft.

On update the object is merged with the stored schedule. Omit a field to keep its stored
value. Send end_date as null to clear a stored end date.

parent_campaign_id is set by the server on a scheduled occurrence and is null on the
series parent. A value sent by the caller is ignored.

date-time

Scheduling time for the campaign. Requires ISO 8601 format.

string
enum

draft or scheduled for a one-time campaign. recurring starts or restarts a series.
recurring_paused or recurring_cancelled stops one.

Allowed:
string

Campaign title

Responses

Callback
Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json