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

# Test-event verzenden

> Een ping-event naar een webhook verzenden

Stuur een ondertekend `ping`-event naar een webhook, ongeacht de `enabled_events`. De aanroep geeft direct antwoord.
Volg het resultaat met [Leveringen weergeven](https://docs.anivahealth.com/nl/api/webhooks/list-deliveries.md).

> [!NOTE]
>
> Vereist de scope `webhooks_manage`.

## Verzoek

### Padparameters

**id** `string` *required*

Webhook-identifier (UUID).

## Respons

Bij succes geeft de API `202 Accepted` terug.

**delivery\_id** `string` *required*

ID (UUID) van de levering die de ping verstuurt.

## Foutresponsen

| Status | Beschrijving |
| - | - |
| `400` | Ongeldig verzoek. Zie de `error`-melding. |
| `401` | Ongeldige API-sleutel. |
| `403` | Geen API-sleutel, of een API-sleutel zonder de scope `webhooks_manage`. |
| `404` | Webhook niet gevonden, of deze hoort bij een andere API-sleutel. |
| `409` | De webhook is uitgeschakeld. Schakel deze eerst in. |
| `500` | Interne serverfout. |

```bash cURL theme={null}
curl --request POST \
  --url https://anivahealth.com/api/v1/webhooks/4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d/ping \
  --header 'x-api-key: YOUR_API_KEY'
```

```json 202 theme={null}
{
  "delivery_id": "7c9e1a3b-5d7f-4b2d-9e4a-6c8e0a2b4d6f"
}
```

```json 409 theme={null}
{
  "error": "The endpoint is disabled. Enable it first."
}
```


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