Skip to content

feat: support for send/scheduled_at in broadcasts#181

Merged
drish merged 1 commit intomainfrom
broadcasts-send-scheduled-at
Jan 19, 2026
Merged

feat: support for send/scheduled_at in broadcasts#181
drish merged 1 commit intomainfrom
broadcasts-send-scheduled-at

Conversation

@drish
Copy link
Collaborator

@drish drish commented Jan 19, 2026

Summary by cubic

Adds support for send and scheduled_at in Broadcasts.create so you can send immediately or schedule a broadcast at creation. Default behavior remains draft when send is false or omitted.

  • New Features
    • CreateParams.send (bool): send immediately after creation; omit/false keeps as draft.
    • CreateParams.scheduled_at (str): schedule send when send is true; accepts natural language or ISO 8601.

Written for commit 1ff75b0. Summary will update on new commits.

@drish drish requested a review from Cisneiros January 19, 2026 13:51
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 3 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="tests/broadcasts_test.py">

<violation number="1" location="tests/broadcasts_test.py:99">
P1: Rule violated: **API Key Permission Check SDK Methods**

The new broadcast create usage with send/scheduled_at introduces a new Resend SDK operation. Per the API Key Permission Check rule, please confirm production API keys have permission for broadcast send/schedule operations to avoid permission failures after deployment.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@drish drish merged commit 1775b0d into main Jan 19, 2026
20 checks passed
@drish drish deleted the broadcasts-send-scheduled-at branch January 19, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants