# Retrieve webhook

> Returns one endpoint.

Source: https://mailvina.com/docs/api-reference/webhooks/retrieve-webhook · Base URL: https://api.mailvina.com · Guide: https://mailvina.com/docs/webhooks

`GET /webhooks/:id`

**Path parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | The webhook ID. |

**Request**

```bash
curl -X GET 'https://api.mailvina.com/webhooks/:id' \
  -H 'Authorization: Bearer mv_xxxxxxxxx'
```

```js
const res = await fetch('https://api.mailvina.com/webhooks/:id', {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.MAILVINA_API_KEY}`,
  },
});
const data = await res.json();
```

```python
import os, requests

res = requests.get(
    "https://api.mailvina.com/webhooks/:id",
    headers={"Authorization": f"Bearer {os.environ['MAILVINA_API_KEY']}"},
)
print(res.json())
```

**Response**

```json
{
  "object": "webhook",
  "id": "a1f9c1d2-7d3e-4b8f-9a0c-2e5b6d7f8a90",
  "url": "https://acme.com/webhooks/mailvina",
  "events": [],
  "active": true,
  "created_at": "2026-11-14T10:00:00.000Z"
}
```

### The webhook object

An endpoint that receives events.

**Fields**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `object` | `string` | no | Always `webhook`. |
| `id` | `string` | no | Unique ID of the webhook. |
| `url` | `string` | no | Where events are posted. |
| `events` | `string[]` | no | Event types it receives. Empty means all of them. |
| `active` | `boolean` | no | `false` while paused. |
| `created_at` | `string` | no | When it was created (ISO 8601, UTC). |
| `secret` | `string` | no | Only in the create response: the secret for verifying signatures. |
