Update SMS Campaign

Updates an SMS campaign at PUT /v1/campaigns/sms/:id. The campaign type is set to sms.
A campaign that is not already SMS must include from (a phone channel).

Email, WhatsApp, and fax campaigns are updated at PUT /v1/campaigns/email/:id,
PUT /v1/campaigns/whatsapp/:id, and PUT /v1/campaigns/fax/:id.

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, recurring, or recurring_paused campaign also accepts the message, from, audience filters, and recurring_settings. recurring_settings is merged with the stored schedule. Omit a field to keep it, and send end_date as null to clear it. Changing the schedule or message does not move an occurrence that is already scheduled. Later occurrences use the updated series. draft to scheduled sends the campaign once at schedule_at. draft to recurring starts the series. recurring to recurring_paused, recurring_cancelled, or draft stops it. recurring_paused to recurring restarts it.

Automation templates passed in automation_templates are added to the ones already on the campaign. A template that is already on the campaign is skipped, so the request is safe to retry. Every template must belong to the organization and must not be archived; otherwise nothing is updated. To add automation templates to a campaign that has already been sent, use the Attach Automation endpoint.

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

Campaign ID

Body Params

Update Campaign Params

Request schema for updating an SMS campaign at PUT /v1/campaigns/sms/:id.

The campaign type is set to sms. A campaign that is not already SMS must include from.
Email, WhatsApp, and fax campaigns are updated at PUT /v1/campaigns/email/:id,
PUT /v1/campaigns/whatsapp/:id, and PUT /v1/campaigns/fax/:id.

A scheduled campaign accepts title, schedule_at, status, and automation_templates.
A draft, recurring, or recurring_paused campaign also accepts body, attachments,
from, the audience filters, and recurring_settings.

recurring_settings is merged with the stored schedule. Omit a field to keep it.
Send end_date as null to clear it. A caller-supplied parent_campaign_id is ignored.
Changing the schedule or message does not move an occurrence that is already scheduled.
Later occurrences use the updated series.

draft to recurring starts the series. recurring to recurring_paused, recurring_cancelled,
or draft stops it. recurring_paused to recurring restarts it.

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 IDs of automation templates to add to the campaign. Templates already on the campaign are kept; nothing is replaced or removed.
Templates of type "duplicate" will have their triggers, actions, and keywords duplicated for the campaign.
Templates of type "as-is" would be associated with the campaign and their triggers, actions, and keywords will be reused.

automation_templates
string

Campaign message body. Limited to 1000 characters.

excluded_audience
array of objects

Whippy Query filter items for the contacts to exclude. Each item is a column comparison or a
logical_group. Accepted for a draft or recurring campaign.

CampaignUpdateExcludedAudience
string

Phone number of the phone channel. Accepted for a draft or recurring campaign. Required when
this request changes the campaign to SMS.

included_audience
array of objects

Whippy Query filter items for the contacts to include. Each item is a column comparison or a
logical_group. Accepted for a draft or recurring campaign.

CampaignUpdateIncludedAudience
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