Webhooks
Ikseb webhook
Ikseb webhook wieħed
GET
/
api
/
v1
/
webhooks
/
{id}
curl --request GET \
--url https://anivahealth.com/api/v1/webhooks/4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d \
--header 'x-api-key: YOUR_API_KEY'
{
"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"
}
{
"error": "Webhook not found"
}
Ikseb webhook wieħed. It-tweġiba qatt ma tinkludi s-sigriet tal-iffirmar.
Jeħtieġ is-scope
webhooks_manage.Talba
Parametri tal-path
Risposta
F’każ ta’ suċċess, l-API tirritorna200 OK bil-webhook.
Tipi ta’ avvenimenti li jirċievi dan il-webhook.
* tfisser kull tip.Għaliex il-webhook ġie diżattivat. Ara Avviżi ta’ falliment.
null
waqt li jkun attivat.Mument ISO 8601 UTC meta bdiet is-sensiela attwali ta’ fallimenti.
null meta l-aħħar kunsinna tkun irnexxiet.Mument ISO 8601 UTC meta s-sigriet ta’ qabel ma jibqax jiffirma.
null meta ma jkun hemm l-ebda rotazzjoni għaddejja.Risposti ta’ żball
| Status | Deskrizzjoni |
|---|---|
400 | Talba mhux valida. Ara l-messaġġ error. |
401 | L-ebda ċavetta tal-API, jew ċavetta tal-API mhux valida. |
403 | Iċ-ċavetta tal-API tiegħek m’għandhiex is-scope webhooks_manage. |
404 | Il-webhook ma nstabx, jew jappartjeni lil ċavetta tal-API oħra. |
500 | Żball intern tas-server. |
curl --request GET \
--url https://anivahealth.com/api/v1/webhooks/4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d \
--header 'x-api-key: YOUR_API_KEY'
{
"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"
}
{
"error": "Webhook not found"
}
⌘I
curl --request GET \
--url https://anivahealth.com/api/v1/webhooks/4a6c8e0f-2b4d-4f6a-8c0e-2a4c6e8f0b1d \
--header 'x-api-key: YOUR_API_KEY'
{
"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"
}
{
"error": "Webhook not found"
}