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

# Trimite un eveniment de test

> Trimite un eveniment ping către un webhook

Trimite un eveniment `ping` semnat către un webhook, indiferent de `enabled_events`. Apelul răspunde imediat.
Urmărește rezultatul cu [Listează livrările](https://docs.anivahealth.com/ro/api/webhooks/list-deliveries.md).

> [!NOTE]
>
> Necesită scope-ul `webhooks_manage`.

## Cerere

### Parametri de cale

**id** `string` *required*

Identificatorul webhook-ului (UUID).

## Răspuns

În caz de succes, API-ul returnează `202 Accepted`.

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

Identificatorul (UUID) al livrării care trimite ping-ul.

## Răspunsuri de eroare

| Status | Descriere |
| - | - |
| `400` | Cerere invalidă. Vezi mesajul `error`. |
| `401` | Cheie API invalidă. |
| `403` | Lipsește cheia API sau cheia API nu are scope-ul `webhooks_manage`. |
| `404` | Webhook-ul nu a fost găsit sau aparține altei chei API. |
| `409` | Webhook-ul este dezactivat. Activează-l mai întâi. |
| `500` | Eroare internă de server. |

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