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

# Seol imeacht tástála

> Seol imeacht ping chuig crúca gréasáin

Seol teagmhas `ping` sínithe chuig webhook, is cuma cén `enabled_events` atá aige. Filleann an glao láithreach.
Lean an toradh le [Liostaigh seachadtaí](https://docs.anivahealth.com/ga/api/webhooks/list-deliveries.md).

> [!NOTE]
>
> Tá an raon feidhme `webhooks_manage` ag teastáil.

## Iarratas

### Paraiméadair chosáin

**id** `string` *required*

Aitheantóir an chrúca gréasáin (UUID).

## Freagra

Má éiríonn leis, tugann an API `202 Accepted` ar ais.

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

Aitheantóir (UUID) an tseachadta a sheolann an ping.

## Freagraí earráide

| Stádas | Cur síos |
| - | - |
| `400` | Iarratas neamhbhailí. Féach an teachtaireacht `error`. |
| `401` | Gan eochair API, nó eochair API neamhbhailí. |
| `403` | Níl an scóip `webhooks_manage` ag d'eochair API. |
| `404` | Níor aimsíodh an webhook, nó is le heochair API eile é. |
| `409` | Tá an webhook díchumasaithe. Cumasaigh é ar dtús. |
| `500` | Earráid inmheánach freastalaí. |

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