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

# Prikaži webhooke

> Prikaži webhooke, ki pripadajo tvojemu API-ključu

Izpiši webhooke, ki pripadajo tvojemu API-ključu, najstarejše najprej. Odgovor nikoli ne vsebuje skrivnosti za
podpisovanje.

> [!NOTE]
>
> Zahteva obseg `webhooks_manage`.

## Zahteva

Ta končna točka ne sprejema parametrov.

## Odgovor

Ob uspehu API vrne `200 OK` s poljem objektov webhook.

**id** `string` *required*

Identifikator webhooka (UUID).

**url** `string` *required*

HTTPS URL, na katerega Aniva pošilja dogodke.

**description** `string`

Prosto besedilo za lastno evidenco. Lahko je `null`.

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

[Vrste dogodkov](https://docs.anivahealth.com/sl/concepts/webhooks.md#dogodki), ki jih ta webhook prejema. `*` pomeni vse vrste.

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

Naslovi, na katere Aniva pošilja e-pošto, ko dostave vedno znova ne uspejo.

**status** `string` *required*

`enabled` ali `disabled`.

**disabled\_at** `string`

Trenutek ISO 8601 UTC, ko je bil webhook onemogočen. `null`, dokler je omogočen.

**disabled\_reason** `string`

Zakaj je bil webhook onemogočen. Glej [Obvestila o napakah](https://docs.anivahealth.com/sl/concepts/webhooks.md#obvestila-o-napakah). `null`,
dokler je omogočen.

**failing\_since** `string`

Trenutek ISO 8601 UTC, ko se je začel trenutni niz neuspehov. `null`, ko je zadnja dostava uspela.

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

Trenutek ISO 8601 UTC, ko prejšnja skrivnost neha podpisovati. `null`, ko rotacija ni v teku.

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

Trenutek ISO 8601 UTC, ko je bil webhook ustvarjen.

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

Trenutek ISO 8601 UTC zadnje spremembe.

## Odgovori z napako

| Status | Opis |
| - | - |
| `401` | Brez ključa API ali neveljaven ključ API. |
| `403` | Tvoj ključ API nima obsega `webhooks_manage`. |
| `500` | Notranja napaka strežnika. |

```bash cURL theme={null}
curl --request GET \
  --url https://anivahealth.com/api/v1/webhooks \
  --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"
  }
]
```


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