GH-EVENT-SUBSCRIPTION-LIST(1) GitHub CLI manual GH-EVENT-SUBSCRIPTION-LIST(1)

gh-event-subscription-list - List event subscriptions (preview)

gh event subscription list [flags]

Filter JSON output using a jq expression
Output JSON with the specified fields
Maximum number of subscriptions to list
Format JSON output using a Go template; see "gh help formatting"

gh event subscription ls

createdAt, eventTypes, eventsUrl, expiresAt, id, resourceUrl, url

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

# List your subscriptions
$ gh event subscription list
# Print the ID and resource of each subscription
$ gh event subscription list --json id,resourceUrl --jq '.[] | [.id, .resourceUrl] | @tsv'

gh-event-subscription(1)

Nov 2026