repos
Get a webhook configuration for a repository
Returns the webhook configuration for a repository. To get more information about the webhook, including the active state and events, use "Get a repository webhook."
OAuth app tokens and personal access tokens (classic) need the read:repo_hook or repo scope to use this endpoint.
get/repos/{owner}/{repo}/hooks/{hook_id}/config
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
hook_idinteger required
The unique identifier of the hook. You can find this value in the X-GitHub-Hook-ID header of a webhook delivery.
Response
Response
Example response
{
"url": "https://example.com/webhook",
"content_type": "\"json\"",
"secret": "\"********\"",
"insecure_ssl": "\"0\""
}