Skip to main content

List organization webhooks

GET/orgs/{org}/hooks
Source
github-v3-rest.json
Revision
f5f067c1e6f6
Active snapshot
85e53e3d0d65

Request

Path Parameters
org string
required
Query Parameters
per_page integer
optional

Results per page (max 100)

page integer
optional

Page number of the results to fetch.

Responses

application/json array[Org Hook object]

Response

Headers
Link string
Example:
<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last"
items Org Hook object

Org Hook

active boolean
required

Example: true

config object
required
content_type string
optional

Example: "form"

insecure_ssl string
optional

Example: "0"

secret string
optional

Example: "********"

url string
optional

Example: "http://example.com/2"

created_at string<date-time>
required

Example: 2011-09-06T17:26:27Z

events array[string]
required
Example:
[
  "push",
  "pull_request"
]
id integer
required

Example: 1

name string
required

Example: web

ping_url string<uri>
required

Example: https://api.github.com/orgs/octocat/hooks/1/pings

type string
required
updated_at string<date-time>
required

Example: 2011-09-06T20:39:23Z

url string<uri>
required

Example: https://api.github.com/orgs/octocat/hooks/1

application/json Basic Error object

Resource not found

documentation_url string
optional
message string
optional
status string
optional
url string
optional