> ## 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.

# Send Test Event

> Sends a sample event to this endpoint only

## Path Parameters

**webhookId** `string` *required*

The event webhook endpoint ID

## Request Body

**event\_type** `string` *required*

An event available at the endpoint's level.

Sample data is sent with `"test": true`. Test deliveries never affect the endpoint's health.

> [!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/test" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "event_type": "webhook.disabled"
}'
```

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

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

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

```json 202 theme={null}
{ "event_id": "evt_6f9c2c1e-…" }
```

```json 400 theme={null}
{ "error": "invalid_request", "error_description": "account.first_agent_created is not available at the reseller level." }
```

```json 409 theme={null}
{ "error": "conflict", "error_description": "Enable the endpoint before sending a test event." }
```

```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.