Repository navigation
Update from code changes: automation webhook error responses - #7954
Merged
Merged
Conversation
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
ethanpalm
approved these changes
Oct 22, 2026
ethanpalm
approved these changes
Oct 22, 2026
This branch was successfully 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.
The Trigger automation webhook API reference now shows that every error response includes
success: falsenext to theerrormessage, and it lists the500response.The endpoint now returns a consistent envelope:
success: truewith arunIdon202, andsuccess: falseon400,402,404,500and503. Integrators can now check one field instead of relying on the status code alone. The reference previously showed only anerrorfield for failures and did not list500.Based on a merged API change by Nathan Tang that adds the
success: falseflag to all automation webhook error responses. The sharedErrorschema used by other endpoints is unchanged.Duplicate check: no open docs PRs mention webhook or automation, none by the source author or Ethan cover this, and nothing merged since Oct 20 touches this endpoint.
Note
Low Risk
OpenAPI documentation only; no runtime or implementation changes in this PR.
Overview
Updates the Trigger automation webhook OpenAPI spec so success and error bodies match the API’s consistent envelope.
202 documents that
successis alwaystruealongsiderunId. 400, 402, 404, 503, and a newly documented 500 now reference a dedicatedAutomationWebhookErrorschema (success: falsepluserror) instead of the genericErrortype. The sharedErrorschema used elsewhere in the Admin API is unchanged.Reviewed by Cursor Bugbot for commit 2fbe005. Bugbot is set up for automated code reviews on this repo. Configure here.