Skip to main content

List Webhooks

List repository webhooks.

External Documentation

To learn more, visit the GitHub documentation.

Parameters

ParameterDescription
OwnerThe organization or person who owns the repository. github.com/{owner}/{repo}
PagePage number of the results to fetch.
Per PageThe number of results per page (max 100).
RepoName of the repository owned by the owner. github.com/{owner}/{repo}
Return All PagesAutomatically fetch all resources, page by page.

Example Output

{
"value": [
{
"active": true,
"config": {
"content_type": "json",
"insecure_ssl": "0",
"url": "https://example.com/webhook"
},
"created_at": "2019-06-03T00:57:16Z",
"deliveries_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/deliveries",
"events": [
"push",
"pull_request"
],
"id": 12345678,
"last_response": {
"code": null,
"message": null,
"status": "unused"
},
"name": "web",
"ping_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/pings",
"test_url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678/test",
"type": "Repository",
"updated_at": "2019-06-03T00:57:16Z",
"url": "https://api.github.com/repos/octocat/Hello-World/hooks/12345678"
}
]
}

Workflow Library Example

List Webhooks with Github and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop