Skip to content

feat(webhooks): add event listing endpoints - #268

Merged
gabrielmfern merged 2 commits into
mainfrom
feature/dev-1926-webhook-event-listing
Aug 26, 2026
Merged

feat(webhooks): add event listing endpoints#268
gabrielmfern merged 2 commits into
mainfrom
feature/dev-1926-webhook-event-listing

Conversation

@gabrielmfern

Copy link
Copy Markdown
Member

Adds sync and async methods for listing webhook events, retrieving an event, and listing delivery attempts. Includes endpoint-specific response types and pagination parameters.

Linear: https://linear.app/resend/issue/DEV-1926

Tests: targeted webhook tests, lint, mypy, and live API calls.

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

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Adds new public sync and async methods for webhook event listing and retrieval, expanding the SDK's API surface and external contract.

Re-trigger cubic

@gabrielmfern
gabrielmfern marked this pull request as draft August 25, 2026 19:40
@gabrielmfern
gabrielmfern marked this pull request as ready for review August 26, 2026 13:56

@dielduarte dielduarte 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.

some findings from the pr-preview skill, behavior wise is all working, already approving.

WebhookEventSummary.type and GetEventResponse.type (_webhooks.py:38,50) are typed str, but resend.WebhookEvent (a Literal of event names) already exists and is exported , worth reusing here, matching what resend-node#1083 did. Also: the new params/response TypedDicts have no field docstrings (every sibling does), and examples/webhooks.py wasn't extended with the three new methods

@gabrielmfern
gabrielmfern merged commit 45680b3 into main Aug 26, 2026
19 of 20 checks passed
@gabrielmfern
gabrielmfern deleted the feature/dev-1926-webhook-event-listing branch August 26, 2026 17:54
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