feat: add segments contacts command to list contacts in a segment#265
Merged
felipefreitag merged 1 commit intomainfrom Apr 14, 2026
Merged
feat: add segments contacts command to list contacts in a segment#265felipefreitag merged 1 commit intomainfrom
felipefreitag merged 1 commit intomainfrom
Conversation
vcapretz
approved these changes
Apr 14, 2026
Maps to GET /segments/:segment_id/contacts via resend.contacts.list({ segmentId }).
Supports --limit, --after, --before pagination flags and interactive segment picker.
ca6a34d to
b2fab29
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maps to GET /segments/:segment_id/contacts via resend.contacts.list({ segmentId }). Supports --limit, --after, --before pagination flags and interactive segment picker.
Summary by cubic
Add
resend segments contactsto list contacts in a segment from the CLI. Supports cursor pagination and an interactive segment picker.segments contacts [segmentId]mapping toresend.contacts.list({ segmentId })(GET /segments/:segment_id/contacts).--limit(1–100, default 10),--after, and--before(mutually exclusive).segmentIdis omitted; renders a contacts table with pagination hints.segmentshelp and references with examples; bumped CLI skill version to1.12.0.Written for commit b2fab29. Summary will update on new commits.