# Broadcasts and series API

Create, schedule, preview, and send outbound broadcasts, automated customer series, and subscription topics through the dimmi JSON REST API.

## Broadcast topics

- `GET /broadcast-topics` - List broadcast topics: Lists the topics people subscribe to, such as product updates, so leaving one never means leaving all. Returns every topic with its consent, description and whether it is archived.
- `POST /broadcast-topics` - Create a broadcast topic: Adds a topic people see on their preference page. An opt_in topic reaches only those who said yes; an opt_out topic everyone who has not said no. Returns the topic.
- `PATCH /broadcast-topics/{topic}` - Change a broadcast topic: Renames, describes or archives a topic. Its consent cannot change once people chose under it; archiving keeps every choice made. Returns the topic as it now is.

## Broadcasts

- `GET /broadcasts` - List broadcasts: Lists the workspace's broadcasts, newest first, by status, channel or name. Returns a page of broadcasts with their channel, status, schedule and counts.
- `GET /broadcasts/{broadcast}/recipients` - List a broadcast's recipients: Lists the people a broadcast went to, narrowed by what happened or by account. Returns a page of recipients with their contact, address, status and what they did.
- `POST /broadcasts` - Create a broadcast: Starts a draft broadcast on one channel. Nothing reaches anyone until it is sent; the draft saves half written. Returns the draft broadcast.
- `POST /broadcasts/{broadcast}/send` - Send a broadcast: Checks everything the broadcast needs, then sends it now or holds it for its schedule. It reaches real people and cannot be taken back. Needs the permission to send broadcasts. Returns the broadcast with its new status.
- `POST /broadcasts/{broadcast}/stop` - Stop a broadcast: Ends a sending or paused broadcast for good: everyone still queued is taken off. It cannot be resumed. Returns the broadcast, now stopped.
- `POST /broadcasts/{broadcast}/pause` - Pause a broadcast: Holds a sending broadcast. Everyone still queued waits until it resumes. Returns the broadcast, now paused.
- `POST /broadcasts/{broadcast}/tests` - Send a test of a broadcast: Sends the broadcast once to one email address or one Slack channel, filled in with the person's own details, marked as a test and counted nowhere. Messenger broadcasts cannot be tested this way. Returns nothing once it is sent.
- `POST /broadcasts/{broadcast}/cancel` - Cancel a scheduled broadcast: Turns a scheduled broadcast back into a draft before it starts, so nobody gets it. Returns the broadcast, a draft again.
- `POST /broadcasts/{broadcast}/resume` - Resume a broadcast: Sends a paused broadcast on to everyone still queued. Returns the broadcast, sending again.
- `POST /broadcasts/{broadcast}/duplicate` - Duplicate a broadcast: Copies any broadcast, sent or not, into a new draft to send again or adapt. Returns the new draft.
- `GET /broadcasts/{broadcast}` - Get a broadcast: Reads one broadcast with everything its draft holds and where it stands. Returns the broadcast with its audience, content, sender, schedule, goal and status.
- `GET /broadcasts/{broadcast}/report` - Get a broadcast's report: Reads what a broadcast did: how many it reached, opened, clicked, replied and reached the goal, why the rest were left out, which links drew clicks and how each account responded. Returns the broadcast's counts, reasons, links and accounts.
- `GET /broadcasts/{broadcast}/estimate` - Estimate a broadcast's reach: Counts who the broadcast would reach right now and why the rest would be left out, with the same checks sending makes. Nothing is written. Very large audiences are counted up to a cap. Returns the count it would reach, the counts left out by reason and whether the cap was hit.
- `PATCH /broadcasts/{broadcast}` - Change a broadcast draft: Saves fields over a draft: who gets it, the message, who it comes from, the schedule and the goal. Only the fields sent change and an empty id clears one. Whether it can be sent is checked on send. Returns the draft as it now is.
- `DELETE /broadcasts/{broadcast}` - Delete a broadcast draft: Deletes a draft that was never sent. A broadcast that started sending cannot be deleted. Returns nothing once it is deleted.

## Series

- `GET /series` - List series: Lists the workspace's series, most recently changed first, by status or name. Returns a page of series with their subject, status and counts.
- `GET /series/{series}/versions` - List a series' versions: Lists every published version of a series, newest first. Returns the versions with their number, note, who published them and when.
- `GET /series/{series}/enrollments` - List a series' journeys: Lists the people or accounts on a series, by the step they stand on, status or name. Returns a page of journeys with who travels, their step and status.
- `POST /series` - Create a series: Starts a draft series for contacts or for companies, empty or from a whole definition. Nothing runs until it is published. Returns the draft series.
- `POST /series/{series}/check` - Check a series: Lists what a series misses before it can go live, step by step: a loop, a path to nowhere, a message without a body, a rule that does not parse. Nothing is saved. Returns the problems, each with the step it belongs to.
- `POST /series/{series}/pause` - Pause a series: Stops every message and step of a live series at once; everyone stays where they stand. Returns the series, now paused.
- `POST /series/{series}/resume` - Resume a series: Sets a paused series live again; waits that ended meanwhile carry on. Returns the series, live again.
- `POST /series/{series}/archive` - Archive a series: Ends a series and every journey on it for good, withdrawing what was not sent yet. Its versions and report stay. Returns the series, now archived.
- `POST /series/{series}/duplicate` - Duplicate a series: Copies a series, in any status, into a new draft. Returns the new draft series.
- `POST /series/{series}/enrollments` - Add people to a series: Adds contacts, or companies on an account series, to a live series by hand, under the same rules as automatic entry. They start getting its messages. Returns the journeys it started.
- `POST /series/{series}/publications` - Publish a series: Freezes the working copy as a new version and sets it live. People already on it follow the new version from the step they stand on. Nothing may be missing; check it first. Needs the permission to publish series. Returns the series, now live.
- `POST /series/{series}/simulations/run` - Walk one person through a series: Walks a contact, or a made-up person, through a series' draft or live version without sending anything, skipping every wait. AI paths and extract steps still ask the AI unless mocked; run action steps never run the action, and answer with their mock. Returns each step with the path it took, the messages that would go out, the changes, whether the person reached the goal, and with a scenario, what they did each time the series asked.
- `POST /series/{series}/nodes/{node}/winner` - Pick a split's winner: Sends everyone who reaches a split step from now on down one variant. Returns the series as it now is.
- `POST /series/{series}/versions/{version}/restore` - Restore a series version: Copies an old version into the working copy. What runs does not change until the series is published again. Returns the series with the restored working copy.
- `GET /series/{series}` - Get a series: Reads one series with its working copy: who enters, what makes them leave, the goal and the graph of steps, plus its settings and lock_version. Returns the series with its spec, settings, status and lock_version.
- `GET /series/{series}/report` - Get a series' report: Reads how many entered, are on it now, finished, left and why, and reached the goal; per day and per step, with what each message step's broadcast counted. Test journeys never count. Returns the totals, the daily series and the numbers of every step.
- `GET /series/{series}/enrollments/{enrollment}` - Get a journey: Reads one journey step by step: what each step did and when. Returns the journey with its trace of steps.
- `PATCH /series/{series}` - Change a series: Saves the working copy and the series' settings. What runs does not change until it is published. Every field but spec is saved as sent, so send them all as read; spec left out keeps the working copy. Returns the series as it now is, with its new lock_version.
- `DELETE /series/{series}` - Delete a series draft: Deletes a draft series that never went live. One that went live is archived instead. Returns nothing once it is deleted.
- `DELETE /series/{series}/enrollments/{enrollment}` - Take someone off a series: Ends one journey now; nothing more of the series reaches them. Returns nothing once it ended.

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
