Guides
Prepare a broadcast
Load when drafting, targeting, testing or sending a broadcast, requesting answers, reminding customers or checking delivery.
Use one broadcast for an email, push and/or in-app message to many customers. Check the monthly limit in get_settings. A sent broadcast cannot be recalled. Follow send-broadcast for the full send sequence.
- Call
draft_broadcastwithdraft: true, title and text per language, channel and audience. To reuse any broadcast, even a sent one, callduplicate_broadcast. The draft retains texts, channel, audience, image, button and answers. Set a new “Answer by” date if needed. - Fix the same draft with
edit_broadcast_draft(text, title, channel) andset_broadcast_audience(returns the new count). Add an optional image and button withset_broadcast_look. Omitted keys keep their values. - Call
preview_broadcastfor the email, iPhone push and app views and screenshots. While running, check again after 20 seconds. For a requested and approved real test, callsend_test_broadcast. Only the signed-in staff member gets email and/or push according to the channel. Tests require staff OAuth, refuse API-key-only calls, allow ten per hour and use no monthly quota. - Read
get_broadcast. Show the preview, audience in words and current count. Wait for an explicit yes before callingsend_broadcastonce. rules
Select recipients and appearance
- Use
everyone: truefor all customers, orvisitor_idsfor specific customers. Archived customers are excluded. Counts reflect people matching now.
Collect answers and check delivery
- Configure
answersondraft_broadcastorset_broadcast_settingswith 2–4 buttons (e.g. Going / Not going) and an “Answer by” date. An option can request a date or short text viaasks: "date"orasks: "text". Setasks_labelabove the box andafter_textafter the answer. - Place buttons immediately after the question with
answers.buttons_after(1 = after paragraph one, empty = at end). Few people scroll to the end. Readget_broadcast_answersfor counts per button, a row per person and typedvalue. - Ask before
remind_broadcast_answers. It sends again to people who have not answered and counts against the limit. - Read
get_broadcast_deliveryfor people sent, delivered, bounced, read, clicked, answered or not reached. A click counts as a read.get_broadcastgives message counts inreceipts. For proof of notice, use the CMS proof PDF with a code anyone can check at/verify.