GH-EVENT-SUBSCRIPTION-VIEW(1) GitHub CLI manual GH-EVENT-SUBSCRIPTION-VIEW(1) NAME gh-event-subscription-view - View an event subscription (preview) SYNOPSIS gh event subscription view [flags] OPTIONS -q, --jq Filter JSON output using a jq expression --json Output JSON with the specified fields -t, --template Format JSON output using a Go template; see "gh help formatting" JSON FIELDS createdAt, eventTypes, eventsUrl, expiresAt, id, resourceUrl, url EXIT CODES 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. EXAMPLE # View a subscription $ gh event subscription view sub_123 # Print when a subscription expires $ gh event subscription view sub_123 --json expiresAt --jq .expiresAt SEE ALSO gh-event-subscription(1) Nov 2026 GH-EVENT-SUBSCRIPTION-VIEW(1)