Skip to content

feat: add broadcasts.clicked_links() method - #226

Merged
dielduarte merged 3 commits into
mainfrom
feat/broadcasts-clicked-links-method
Aug 24, 2026
Merged

feat: add broadcasts.clicked_links() method#226
dielduarte merged 3 commits into
mainfrom
feat/broadcasts-clicked-links-method

Conversation

@dielduarte

@dielduarte dielduarte commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Adds GET /broadcasts/{id}/clicked-links — paginated list of a broadcast's clicked links (url, clicks, unique_clicks).

Spec: resend/resend-openapi#95
Reference implementation: resend/resend-node#1077


Summary by cubic

Adds Resend::Broadcasts.clicked_links to list a broadcast’s clicked links via GET /broadcasts/{id}/clicked-links, enabling paginated click analytics. No behavior changes to existing methods.

  • Returns a paginated list of link objects with id, url, clicks, and unique_clicks.
  • Forwards limit, after, and before via Resend::PaginationHelper; specs cover response shape and all pagination params.

Written for commit 9b0d877. Summary will update on new commits.

Review in cubic

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread spec/broadcasts_spec.rb Outdated

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 the clicked_links method to the Resend::Broadcasts module, supporting a new API endpoint for broadcast click analytics and expanding the SDK's public interface.

Re-trigger cubic

@dielduarte
dielduarte marked this pull request as ready for review August 22, 2026 01:44
@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Aug 22, 2026

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 a new public clicked_links SDK method wrapping a new broadcast analytics endpoint, expanding the public contract; no visible evidence of prior human approval for this interface addition.

Re-trigger cubic

@dielduarte
dielduarte merged commit a5e1a4b into main Aug 24, 2026
8 checks passed
@dielduarte
dielduarte deleted the feat/broadcasts-clicked-links-method branch August 24, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear-synced PR has been synced to Linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants