# List webhooks

```http
GET /projects/{project_reference}/webhooks
```

List the webhooks stored for a project, newest first, to find a webhook or its public URL; returns one page of webhooks, or every webhook when neither a limit nor a cursor is sent. Requires project.agents.read.

## Parameters

| Name                | In    | Required | Description                                                                                                                                                |
| ------------------- | ----- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | path  | Yes      |                                                                                                                                                            |
| `limit`             | query |          | Maximum webhooks to return, from 1 to 100. Without `limit` and `cursor` the response lists every webhook; with a `cursor` alone, the page holds up to 100. |
| `cursor`            | query |          | The `page_info.next` of the previous page: the id of its last webhook. Keep `sort_order` the same across pages.                                            |
| `sort_order`        | query |          | Creation order: desc (newest first, the default) or asc.                                                                                                   |

## Responses

| Status | Description                                                                                                |
| ------ | ---------------------------------------------------------------------------------------------------------- |
| 200    | A page of webhooks                                                                                         |
| 400    | invalid\_input: invalid parameters                                                                         |
| 401    | unauthenticated                                                                                            |
| 403    | forbidden: a project member without project.agents.read                                                    |
| 404    | not\_found: project or webhook not found or not visible                                                    |
| 500    | internal                                                                                                   |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly |
