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

# Webhook ophalen

> Eén webhook ophalen

Haal één webhook op. De response bevat nooit het signing secret.

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

## Verzoek

### Padparameters

**id** `string` *required*

Webhook-identifier (UUID).

## Respons

Bij succes geeft de API `200 OK` terug met de webhook.

**id** `string` *required*

Webhook-identifier (UUID).

**url** `string` *required*

De HTTPS-URL waarnaar Aniva events verstuurt.

**description** `string`

Vrije tekst voor eigen referentie. Kan `null` zijn.

**enabled\_events** `string[]` *required*

[Eventtypen](https://docs.anivahealth.com/nl/concepts/webhooks.md#events) die deze webhook ontvangt. `*` betekent elk type.

**alert\_emails** `string[]` *required*

Adressen waarnaar Aniva een e-mail stuurt wanneer afleveringen blijven mislukken.

**status** `string` *required*

`enabled` of `disabled`.

**disabled\_at** `string`

ISO 8601 UTC-tijdstip waarop de webhook is uitgeschakeld. `null` zolang deze is ingeschakeld.

**disabled\_reason** `string`

Waarom de webhook is uitgeschakeld. Zie [Foutmeldingen](https://docs.anivahealth.com/nl/concepts/webhooks.md#foutmeldingen). `null`
zolang deze is ingeschakeld.

**failing\_since** `string`

ISO 8601 UTC-tijdstip waarop de huidige reeks mislukkingen begon. `null` wanneer de laatste aflevering is geslaagd.

**previous\_secret\_expires\_at** `string`

ISO 8601 UTC-tijdstip waarop het vorige secret niet meer wordt gebruikt om te ondertekenen. `null` wanneer er geen rotatie bezig is.

**created\_at** `string` *required*

ISO 8601 UTC-tijdstip waarop de webhook is aangemaakt.

**updated\_at** `string` *required*

ISO 8601 UTC-tijdstip van de laatste wijziging.

## 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. |
| `500` | Interne serverfout. |

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

```json 200 theme={null}
{
  "id": "4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d",
  "url": "https://partner.example.com/webhooks/aniva",
  "description": "Production",
  "enabled_events": [
    "appointment.confirmed",
    "appointment.results.completed",
    "home_kit_order.results.completed"
  ],
  "alert_emails": ["ops@partner.example.com"],
  "status": "enabled",
  "disabled_at": null,
  "disabled_reason": null,
  "failing_since": null,
  "previous_secret_expires_at": null,
  "created_at": "2026-10-15T08:00:00.000Z",
  "updated_at": "2026-10-15T08:00:00.000Z"
}
```

```json 404 theme={null}
{
  "error": "Webhook not found"
}
```


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