Edit a scheduled CRM email campaign
Admin-only endpoint. Fully replaces a still-scheduled campaign's definition.
Path parameters
Campaign UUID
Campaign UUID
Request body
When to send the campaign (timezone-aware).
Email subject.
Internal note on why the campaign is being sent; shown in the CRM only, never emailed.
Composed HTML body (image placeholders already replaced by URLs).
Storage path of the uploaded template under public/email/templates/.
Map of placeholder name -> image public URL used to compose email_html.
Stato paziente filters. Combined with registration_reasons per filter_match at send time.
Deprecated alias of patient_states (kept for the current frontend payload).
Motivo iscrizione filters. Combined with patient_states per filter_match at send time.
How stato and motivo filters combine at send time: 'any' (OR, default) unions them; 'all' (AND) keeps only patients matching both a selected stato and motivo.
Explicit recipient email addresses (e.g. from an uploaded CSV). When present the campaign audience is this list. Capped at 50000 addresses.
Response
Successful Response
Campaign UUID.
scheduled | sending | sent | failed | cancelled.
When the campaign is/was scheduled to send.
Email subject.
Internal note on why the campaign was sent; CRM-only.
Composed HTML body (placeholders already replaced by URLs).
Storage path of the uploaded template, if any.
Map of placeholder name -> image public URL used to compose email_html.
'filters' or 'csv'.
Stato paziente filters (empty for a csv audience).
Motivo iscrizione filters (empty for a csv audience).
How stato/motivo filters combine ('any' or 'all').
Explicit recipient emails (only for a csv audience).
When the campaign was created.
Changes
No recorded changes to this endpoint across all 1 revision of this API.