Repository navigation
Conversation
- A webhook created via the API only responds to the events passed in `events`; it does not default to all events. - Drop `include_received_email` from the documented request and response; passing `subscriber.received_email` in `events` replaces it. - Reword the `subscriber.received_email` volume note. - Add the JSON Content-Type header to the remaining curl examples that send a JSON body (webhook create, workflow trigger create/update); the API returns 415 for create/update requests without it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Restore the deprecated include_received_email argument and response field, mark events as optional, fix response JSON (integer version, trailing comma), and describe the current webhook settings UI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Problem
GG-1303 flagged places where the webhook docs don't match what the API actually does. If you follow the docs as written, you get a 415 or a webhook that never fires.
Change
eventsstays optional, but now says it sends nothing when omitted and that unknown event names return a 422include_received_emailto get received-email eventssubscriber.received_emailtoeventsdoes the same thingeventsSetting Up rewrite. The section now walks through the real UI: Webhooks settings, "New webhook", URL, "All Events" or "Select Events", "Save". It also warns that "All Events" includes the high-volume received-email event. Every label was checked against the drip views.
Example fixes.
versionis now an integer, matching the column type.The Ruby example still passes
falsefor the deprecated flag because the gem's signature requires that argument. A one-line comment points readers to the events list instead.Testing
ruby -c.Open questions
🤖 Generated with Claude Code