feat(broadcasts): add recipients endpoint - #98
Conversation
Adds BroadcastsSvc::recipients to list a broadcast's recipients for a given event type (sent/delivered/opened/clicked/bounced/complained/ unsubscribed/suppressed), with optional email/bounce_type filters and cursor pagination.
There was a problem hiding this comment.
All reported issues were addressed across 2 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Adds the recipients endpoint and supporting data structures to BroadcastsSvc. This expands the public API surface with new types for events, bounces, and pagination options.
Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: This PR adds a new public endpoint and several data types for listing broadcast recipients. Human review is required to verify the naming, ergonomics, and correctness of the new API surface against the Resend specification.
Re-trigger cubic
Adds
BroadcastsSvc::recipients()forGET /broadcasts/{id}/recipients.Spec: resend/resend-openapi#97
Node reference: resend/resend-node#1078
Tests pass. clippy + fmt clean.
Summary by cubic
Adds recipients listing for broadcasts so clients can inspect sent/delivered/opened/clicked/bounced/complained/unsubscribed/suppressed recipients. Previously unavailable; now exposed via a typed, cursor‑paginated endpoint.
Written for commit 21bdbc9. Summary will update on new commits.