Skip to content

[ENG-513] update-webhook filterTypes#155

Merged
ktanishqk merged 1 commit into
mainfrom
tanishq/eng-513-update-webhook-filtertypes
May 14, 2026
Merged

[ENG-513] update-webhook filterTypes#155
ktanishqk merged 1 commit into
mainfrom
tanishq/eng-513-update-webhook-filtertypes

Conversation

@ktanishqk
Copy link
Copy Markdown
Collaborator

@ktanishqk ktanishqk commented May 13, 2026

Summary by cubic

Enable updating a webhook’s subscribed event types via PATCH /webhooks/{webhook_id} using event_types. Non-empty arrays replace the full list; omit or [] leaves it unchanged. Addresses ENG-513.

  • New Features
    • Added event_types? to webhooks.update request. Non-empty replaces all types; omit or [] keeps current; clearing all is not supported. Permissions required for message.received.spam, message.received.blocked, and message.received.unauthenticated.
    • Improved docs: clarified create/update behavior, added an “Updating event_types” section, and updated API snippets to include event_types on update.

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

@github-actions
Copy link
Copy Markdown

✨ API Changes

# API Changelog n/a vs. n/a


## API Changes

### PATCH /v0/webhooks/{webhook_id}
-  added the new optional request property `event_types`

💡 Download api-changelog-diff artifact or tag @fern Writer in #github-prs for changelog.

@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

No issues found across 2 files

@ktanishqk ktanishqk merged commit 6090595 into main May 14, 2026
5 checks passed
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.

1 participant