> ## Documentation Index
> Fetch the complete documentation index at: https://docs.telzino.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable Event Webhook

> Switches an endpoint on

## Path Parameters

**webhookId** `string` *required*

The event webhook endpoint ID

## Request Body

**held** `string`

`resume` (send the deliveries held while it was disabled) or `discard`. Required when the endpoint has held deliveries.

> [!NOTE]
>
> An endpoint or delivery outside your API key's scope returns `404`, the same as one that does not exist.

```bash cURL theme={null}
curl -X POST "https://api.telzino.com/v1/webhooks/3f2b8c1e-5d4a-4e7b-9c2d-1a6f0e8b7d54/enable" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "held": "resume"
}'
```

```javascript JavaScript theme={null}
const response = await fetch('https://api.telzino.com/v1/webhooks/3f2b8c1e-5d4a-4e7b-9c2d-1a6f0e8b7d54/enable', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "held": "resume"
  })
});
```

```python Python theme={null}
import requests

response = requests.post(
    'https://api.telzino.com/v1/webhooks/3f2b8c1e-5d4a-4e7b-9c2d-1a6f0e8b7d54/enable',
    headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'},
    json={
      "held": "resume"
    }
)
```

```json 200 theme={null}
{ "held_resolved": 3 }
```

```json 409 theme={null}
{ "error": "conflict", "error_description": "This endpoint has 3 held deliveries: choose resume or discard." }
```

```json 404 theme={null}
{ "error": "not_found", "error_description": "Webhook endpoint not found." }
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.