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.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
