Skip to content
dimmiDocs

Broadcasts and series

Change a broadcast draft

PATCH/api/v1/broadcasts/{broadcast}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the broadcasts:write ability

Path parameters

broadcaststringrequired

Id of the broadcast, starting with bcst_, such as bcst_01jx2m8k4t. Find it with GET /broadcasts.

Body

application/json
ai_repliesboolean

true lets the AI agent answer replies.

audience_idstring

Saved audience (audn_...) that gets it. Find it with GET /audiences.

bodystring

The message in Markdown, up to 50000 characters.

Maximum length: 50000

email_address_idstring

Sending email address (ema_...). Find it with GET /email-addresses.

goalany

What it hopes people do: {"event": event name, "days": days after getting it}. Find events with GET /event-definitions.

holdsstring[]

List of who to leave out of a conversation broadcast, replacing the old list; only allowed on a draft whose channel is conversation. Values: customer_waiting (customers still waiting on an answer) and team_replied (for a tracker, customers a teammate already answered). Such as ["customer_waiting"].

Available options:customer_waitingteam_replied

Maximum items: 2

namestring

The name of the broadcast, at most 120 characters.

Maximum length: 120

previewstring

Email preview text, up to 200 characters.

Maximum length: 200

reply_agent_idstring

The AI agent (aia_...) that answers replies when ai_replies is true; empty leaves it to the agent placed on the channel.

reply_member_idstring

Teammate (mem_...) who gets the replies.

reply_team_idstring

Team (team_...) that gets the replies.

room_idsstring[] | null

For slack: the Slack channels (chr_...) to post in. Find them with GET /channels/{channel}/rooms.

rulesany

The audience as JSON: {"visitors": everyone, identified, leads, anonymous or anonymous_and_leads, "rules": a tree of all, any and not groups over leaves {field, op, value}}. Fields come from GET /audience-fields, such as contact.custom.plan or event.signed_up.count. Four levels, 50 leaves, 8 KB at most. Used instead of a saved audience.

scheduleobject
Show child attributes
atstring

When the broadcast goes out, as an ISO 8601 time in the future, such as 2027-01-15T09:00:00Z. Needed when kind is at or local; leave out when kind is now.

Format: date-time

kindstringrequired

When the broadcast goes out: now sends right away, at sends at the time in at, local sends at that clock time in each person's own time zone.

Available options:nowatlocal

sender_idstring

Teammate (mem_...) it comes from. Find it with GET /members.

serviceboolean

true marks a service notice, such as an outage, that reaches people who left the marketing topics. Never use it for marketing.

skip_frequency_capboolean

true sends even to people who got the most messages the workspace allows lately.

slack_asstring

For slack: bot posts as the dimmi app, member as the sender's own Slack account.

Available options:botmember

subjectstring

Email subject, up to 200 characters.

Maximum length: 200

topic_idstring

Topic (bctp_...) it is sent under; people who left the topic do not get it. Find it with GET /broadcast-topics.

track_clicksboolean

true counts who clicks the links.

Response 200

OK
dataobjectrequired
Show child attributes
ai_repliesbooleanrequired

Whether the AI agent may answer replies to this broadcast.

audience_idstring | nullrequired

Id of the saved audience the broadcast goes to, such as audn_... Null when it uses its own rules or hand-picked Slack channels.

bodystringrequired

The message's text, up to 50000 characters.

channelstringrequired

How the broadcast goes out: email, chat or post (both in the messenger; a post shows as a card), slack, or conversation (inside each person's existing conversation).

countsanyrequired

The latest tally of recipients as an object: total, queued, sent, delivered, opened, clicked, replied, reactions, unsubscribed, converted, failed, bounced, skipped and more. Empty before sending.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

email_address_idstring | nullrequired

Id of the connected email address the broadcast is sent from, such as ema_... Null when none is chosen.

finished_atstring | nullrequired

When sending finished. Null until then.

Format: date-time

goalanyrequired

What the broadcast hopes recipients do: an object with event (an event they send) and days (within how many days). Null when no goal is set.

holdsstring[] | nullrequired

Who a conversation broadcast leaves out: customer_waiting (still waiting on an answer), team_replied (already answered since the tracker moved). Empty for none.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

namestringrequired

The team's name for the broadcast, 1 to 120 characters. Recipients do not see it.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

pause_reasonstring | nullrequired

Why sending was paused by itself: bounce_rate or complaint_rate. Null when not paused for such a reason.

previewstringrequired

The preview line an email shows after its subject, up to 200 characters. Empty when none.

reply_agent_idstring | nullrequired

The AI agent that answers replies when ai_replies is true, such as aia_.... Null leaves it to the agent placed on the channel the reply comes in on.

reply_member_idstring | nullrequired

Id of the teammate replies are assigned to, such as mem_... Null when none is set.

reply_team_idstring | nullrequired

Id of the team replies are assigned to, such as team_... Null when none is set.

room_idsstring[] | nullrequired

Ids of the Slack channels picked by hand to receive the broadcast, such as chr_... Empty when none.

rulesanyrequired

The audience rule used when no saved audience is named, in the same shape as a saved audience's rules. Null when none.

schedule_kindstringrequired

When it sends: now, at (at scheduled_at) or local (at scheduled_at's clock time in each person's own time zone).

scheduled_atstring | nullrequired

The time the broadcast is set to send. Null when schedule_kind is now.

Format: date-time

sender_idstring | nullrequired

Id of the teammate the broadcast is sent as, such as mem_... Null when none is chosen.

servicebooleanrequired

True for a service message, which also reaches people who unsubscribed or left the topic and ignores the frequency cap.

skip_frequency_capbooleanrequired

True when the broadcast goes out even to people who recently got another one.

slack_asstringrequired

Who a Slack broadcast posts as: bot or member (the sender).

started_atstring | nullrequired

When sending started. Null until then.

Format: date-time

statusstringrequired

Where the broadcast stands: draft, scheduled, sending, paused, sent or stopped.

subjectstringrequired

The subject line of an email, or the heading of a post. Up to 200 characters; empty when none.

ticket_idstring | nullrequired

Id of the ticket a conversation broadcast was started from, such as tkt_...; it reaches only conversations linked to it. Null otherwise.

topic_idstring | nullrequired

Id of the topic the broadcast is sent under, such as bctp_...; only people subscribed to it get it. Null when it has no topic.

track_clicksbooleanrequired

Whether clicks on the message's links are counted. On by default.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.