# Get a webhook

GET https://api.oletapp.com/your-store/v1/webhooks/{id}

The shape is identical to one element of `webhooks.list`, and `secret` is `null`. An unknown id, or an id created by another credential, is `404 NOT_FOUND`.

**Requires scope:** `any`

Required scope: `any`

## Parameters

| Name | In | Type | Required |
|---|---|---|---|
| `id` | path | string | yes |

## Response (200)

```
{
  data: {
  created_at: string
  event: string
  id: string
  secret: string | null
  status: "active" | "disabled"
  target_url: string
}
}
```

Errors follow the standard error envelope: https://getolet.com/resources/developers/errors.md

## Example

```bash
curl -X GET "https://api.oletapp.com/your-store/v1/webhooks/{id}" \
  -H "Authorization: Bearer olet_live_YOUR_API_KEY"
```
