# List organization webhooks

From **GitHub v3 REST API**.

`GET /orgs/{org}/hooks`

List organization webhooks

## Parameters

### `org`

- Location: path
- Required: true
- Type: `string`

### `per_page`

- Location: query
- Required: false
- Type: `integer`
- Default: `30`

Results per page (max 100)

### `page`

- Location: query
- Required: false
- Type: `integer`
- Default: `1`

Page number of the results to fetch.

## Responses

### `200`

Response

#### Headers

##### `Link`

- Type: `string`

- Example: `<https://api.github.com/resource?page=2>; rel="next", <https://api.github.com/resource?page=5>; rel="last"`

### `application/json`

- Type: `array`

```json
[
  {
    "active": true,
    "config": {
      "content_type": "json",
      "url": "http://example.com"
    },
    "created_at": "2011-09-06T17:26:27Z",
    "events": [
      "push",
      "pull_request"
    ],
    "id": 1,
    "name": "web",
    "ping_url": "https://api.github.com/orgs/octocat/hooks/1/pings",
    "type": "Organization",
    "updated_at": "2011-09-06T20:39:23Z",
    "url": "https://api.github.com/orgs/octocat/hooks/1"
  }
]
```

```json
{"items":{"$ref":"#/components/schemas/org-hook"},"type":"array"}
```

### `404`

Resource not found

### `application/json`

- Type: `object`

Basic Error

```json
{"description":"Basic Error","properties":{"documentation_url":{"type":"string"},"message":{"type":"string"},"status":{"type":"string"},"url":{"type":"string"}},"title":"Basic Error","type":"object"}
```

## Request examples

### cURL

```shell
curl --request GET \
  --url {protocol}://{hostname}/api/v3/orgs/{org}/hooks
```
