mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #590] feat: Add local webhook receiver (asc webhooks serve) #164
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/590
Summary
Add a local webhook receiver so developers can test App Store Connect webhooks and drive automation locally.
Proposed command:
Why this matters
Today, webhook work is awkward:
A local receiver makes webhook development fast and scriptable.
Current state (verified)
asc webhooksmanagement exists (list/create/update/delete, deliveries, redeliver, ping).asc webhooks servecommand exists.Proposed UX
Serve
Flags (proposal):
--host(default127.0.0.1)--port(default8787)--dir(optional; write events to files, atomic writes, reject symlinks)--exec(optional; execute a command with event JSON on stdin)--output json|text(default text for “server started”, but payload handling should be JSON)Notes:
Request handling
Security / validation
If App Store Connect webhooks support signature/secret validation, add it as opt-in:
--verify+ASC_WEBHOOK_SECRET(or similar)If not feasible, still provide best-effort validation:
Test plan (TDD-first)
--execpasses payload on stdin--portvalidationAcceptance criteria
asc webhooks serve --helpexists and is self-documenting.--execworks without leaking secrets.make testpasses.