UseDocumentation Index
Fetch the complete documentation index at: https://segmentflow.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
broadcasts.create when your backend needs to create a one-time email campaign for a saved Segment.
The route is POST /api/v1/broadcasts. It accepts a Resend-style payload with segmentId, from, subject, and html/text. Segmentflow creates a saved Email Template from the inline content, creates a Broadcast linked to the Segment, and returns the Broadcast id.
You can also pass templateId to reuse an existing Segmentflow Email Template instead of inline content.
send: true to start the Broadcast immediately. To schedule it, combine send: true with scheduledAt.
topicId maps to Segmentflow’s Email SubscriptionGroup id and is required before a Broadcast can be sent.
