mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 07:35:48 +03:00
[GH-ISSUE #248] Add CLI support for Webhooks #78
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#78
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 (Jan 28, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/248
Originally assigned to: @swiftlysingh on GitHub.
Overview
Add CLI support for Webhooks including webhook configuration, deliveries, and pings using the App Store Connect API. This enables full management of webhook subscriptions and monitoring from the CLI with JSON-first output and explicit flags.
Scope
Primary resources from the OpenAPI spec:
webhooks(GET list/instance, POST create, PATCH update, DELETE)webhookDeliveries(POST create, GET via webhook relationship)webhookPings(POST create)apps/{id}/webhooksEndpoints:
Proposed CLI
Top-level group:
asc webhooks <subcommand> [flags]Subcommands (all support list/get/create/update/delete unless noted):
webhooks(list/get/create/update/delete)webhooks deliveries(list/get via webhook)webhooks ping(create test ping)Examples:
asc webhooks list --app APP_IDasc webhooks get --webhook-id WEBHOOK_IDasc webhooks create --app APP_ID --url https://example.com/webhook --secret secret123 --events SUBSCRIPTION.CREATED,SUBSCRIPTION.UPDATEDasc webhooks update --webhook-id WEBHOOK_ID --url https://new-url.com/webhook --enabled falseasc webhooks delete --webhook-id WEBHOOK_ID --confirmasc webhooks deliveries --webhook-id WEBHOOK_IDasc webhooks ping --webhook-id WEBHOOK_IDFlag patterns
Common:
--app,--output,--pretty,--limit,--next,--paginate--confirmfor destructive operationsResource-specific examples:
--webhook-id,--url,--secret,--enabled--events(comma-separated list of event types)--delivery-id(for delivery operations)Output
--prettyfor JSON--output table/markdownfor list commandsAcceptance criteria
asc --helpandasc webhooks --help--paginate,--next,--limit)--confirmTests
Implementation notes
cmd/webhooks*.goandinternal/asc/client_webhooks*.gointernal/asc/output_webhooks.gocmd/root.gointernal/asc/client_types.gocmd/apps.go,cmd/subscriptions.go, and output helpers ininternal/asc/output_*