# Get webhook

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

Read one webhook by its ID to inspect its target, prompt template, event filter and status; returns the webhook with its public URL and never its secret. Requires project.agents.read.

## Parameters

| Name                | In   | Required | Description                                                                                             |
| ------------------- | ---- | -------- | ------------------------------------------------------------------------------------------------------- |
| `project_reference` | path | Yes      |                                                                                                         |
| `webhook_id`        | path | Yes      | The webhook id (`id` on the webhook, formerly `webhook_definition_id`). A missing webhook is not found. |

## Responses

| Status | Description                                                                                                |
| ------ | ---------------------------------------------------------------------------------------------------------- |
| 200    | Webhook                                                                                                    |
| 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 |
