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

# Testereignis senden

> Ein Ping-Ereignis an einen Webhook senden

Sende ein signiertes `ping`-Event an einen Webhook, unabhängig von seinen `enabled_events`. Der Aufruf antwortet sofort.
Verfolge das Ergebnis über [Zustellungen auflisten](https://docs.anivahealth.com/de/api/webhooks/list-deliveries.md).

> [!NOTE]
>
> Erfordert den Scope `webhooks_manage`.

## Anfrage

### Pfadparameter

**id** `string` *required*

Webhook-Kennung (UUID).

## Antwort

Bei Erfolg gibt die API `202 Accepted` zurück.

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

Kennung (UUID) der Zustellung, die den Ping sendet.

## Fehlerantworten

| Status | Beschreibung |
| - | - |
| `400` | Ungültige Anfrage. Siehe die `error`-Meldung. |
| `401` | Ungültiger API-Schlüssel. |
| `403` | Kein API-Schlüssel oder ein API-Schlüssel ohne den Scope `webhooks_manage`. |
| `404` | Webhook nicht gefunden oder er gehört zu einem anderen API-Schlüssel. |
| `409` | Der Webhook ist deaktiviert. Aktiviere ihn zuerst. |
| `500` | Interner Serverfehler. |

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