Update a broadcast draft
update_broadcast_draftEdit one existing DRAFT broadcast without sending it. Read it with list_broadcasts first, then pass only fields that should change. WhatsApp fields must belong to the connected site's own approved template, sender and published Form versions; a broadcast that has started sending cannot be edited.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>",
"campaign_id": "<campaign_id>"
},
"name": "update_broadcast_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| tags | No | Tags the contact must carry — ALL of them. Values exactly as list_contact_filter_vocabulary returns them, capitals and spaces included | |
| fields | No | Custom field filters: field_key → exact value, e.g. {"budget":"high"}. Keys from list_contact_filter_vocabulary; a select field's value must be one of its options | |
| search | No | Free text matched against email, first name, last name and company | |
| status | No | Pipeline status the contact must have | |
| channel | No | ||
| purpose | No | ||
| send_at | No | Schedule for everyone at this instant (ISO 8601 with offset), at most 60 days ahead. Omit to leave it as "send now" when the owner presses the button. | |
| site_id | Yes | The site, from list_sites | |
| subject | No | ||
| reply_to | No | ||
| body_html | No | ||
| body_text | No | ||
| from_name | No | ||
| preheader | No | ||
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| local_date | No | With local_time: send on this day (YYYY-MM-DD) at local_time in EACH person's own time zone (from their phone number). | |
| local_time | No | With local_date: the local time (HH:MM, 24h) each person receives it, e.g. 10:00. | |
| segment_id | No | A segment id, from list_contact_filter_vocabulary | |
| appointment | No | Appointment state: upcoming (booked, still to come), pending (upcoming, waiting for the owner to confirm), needs_time (asked for an appointment, waiting for the owner to pick a time), had (has had one before) | |
| campaign_id | Yes | Draft broadcast id from list_broadcasts | |
| field_rules | No | Typed custom-field rules, all must match. op "in"/"not_in" take values (e.g. countries ["BR","IN"]); "gt"/"lt" take a numeric value (numeric fields only); "before"/"on_or_after" take value "YYYY-MM-DD"; "is_set"/"is_not_set" take nothing. Prefer this over `fields` for anything but one exact value | |
| header_media_url | No | WhatsApp only: the public https image, video or document for a template that has one at the top (a brand library file's URL). Not needed for Mondovo's own templates, which carry their video per language. | |
| whatsapp_language | No | WhatsApp only: the template version to send (Meta locale such as en_US, pt_BR, hi). Default en_US. | |
| whatsapp_template | No | WhatsApp only (required there): the approved template's name, e.g. mondovo_founder_video. Outside a 24-hour chat WhatsApp only allows approved templates. | |
| acquisition_source | No | Lead source, exactly as list_contact_filter_vocabulary returns it | |
| whatsapp_variables | No | WhatsApp only: values for the template body's {{1}}, {{2}}… by position, e.g. { "1": "{{contact.first_name}}" }. | |
| target_all_contacts | No | ||
| whatsapp_components | No | WhatsApp only: approved-template component values. Use header for text/media, buttons for positional URL suffixes, trackedButtons for approved public HTTPS destinations, and flowButtons for published native Form definition/version ids. | |
| acquisition_campaign | No | Acquisition campaign, exactly as list_contact_filter_vocabulary returns it | |
| whatsapp_language_from_contact | No | WhatsApp only: send each person the approved version in their own chat language, falling back to whatsapp_language. Usually true when the template has several languages. |