Skip to content

feat: add broadcasts clicked-links command - #368

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

feat: add broadcasts clicked-links command#368
dielduarte merged 3 commits into
mainfrom
feat/broadcasts-clicked-links-command

Conversation

@dielduarte

@dielduarte dielduarte commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Adds broadcasts 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 broadcasts clicked-links to list a broadcast’s clicked links with pagination and ranking by total clicks. Previously the CLI had no way to view clicked links for a broadcast.

  • Supports [id] and flags --limit <n> (1–100, default 10), --after <cursor>, and --before <cursor>.
  • Interactive mode renders a table (URL, Clicks, Unique Clicks) and prints pagination hints; non-interactive outputs the JSON list.
  • Help text documents auth_error, invalid_limit, invalid_pagination, and list_error.
  • Bumps resend to 6.22.0 to use the broadcasts.clickedLinks API.
  • Updates documentation (command reference and skills/resend-cli command table) and adds tests for pagination, limit validation, missing API key, and SDK list errors.

Written for commit b6f38f0. Summary will update on new commits.

Review in cubic

@dielduarte
dielduarte marked this pull request as ready for review August 23, 2026 03:13

@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 7 files

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

Fix all with cubic | Re-trigger cubic

Comment thread src/commands/broadcasts/clicked-links.ts Outdated

@klotty klotty left a comment

Copy link
Copy Markdown

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).

Auto-approved: Adds the broadcasts clicked-links command to list clicked links for a broadcast, supporting pagination and both table and JSON output formats.

Re-trigger cubic

@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Aug 23, 2026

@klotty klotty left a comment

Copy link
Copy Markdown

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).

Auto-approved: Adds the broadcasts clicked-links command to list clicked links for a broadcast, supporting pagination and both table and JSON output formats.

Re-trigger cubic

@dielduarte
dielduarte merged commit 0c02f5e into main Aug 24, 2026
7 of 8 checks passed
@dielduarte
dielduarte deleted the feat/broadcasts-clicked-links-command branch August 24, 2026 13:56
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.

3 participants