Get-GitHubAppWebhookConfigForApp
SYNOPSIS
Get a webhook configuration for an app
SYNTAX
__AllParameterSets
Get-GitHubAppWebhookConfigForApp [-Accept <string>]
ALIASES
This cmdlet has the following aliases,
- Get-GHAppWebhookConfigForApp
DESCRIPTION
The Get-GitHubAppWebhookConfigForApp cmdlet invokes the GET method of the /app/hook/config endpoint (Get a webhook configuration for an app)
Returns the webhook configuration for a GitHub App. For more information about configuring a webhook for your app, see “Creating a GitHub App (/developers/apps/creating-a-github-app).”
You must use a JWT (https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
Endpoint: GET /app/hook/config API version: 2026-03-10
EXAMPLES
EXAMPLE 1
Get-GitHubAppWebhookConfigForApp
Invokes GET /app/hook/config
PARAMETERS
-Accept
The Accept header (media type) of the request Default value: application/vnd.github+json
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
Objects with properties named like the path parameters can be piped to this function
{{ Fill in the Description }}
OUTPUTS
The response of the GitHub API (objects
{{ Fill in the Description }}
NOTES
OperationId: apps/get-webhook-config-for-app Category: apps / webhooks Not enabled for GitHub Apps