Crúcaí gréasáin
Faigh crúca gréasáin
Aisghabh crúca gréasáin amháin
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"
}
Faigh crúca gréasáin amháin. Ní bhíonn an rún sínithe sa fhreagra riamh.
Tá an raon feidhme
webhooks_manage ag teastáil.Iarratas
Paraiméadair chosáin
Freagra
Má éiríonn leis, seolann an API200 OK ar ais leis an gcrúca gréasáin.
Cineálacha imeachta a fhaigheann an crúca gréasáin seo. Ciallaíonn
* gach cineál.Seoltaí a gcuireann Aniva ríomhphost chucu nuair a theipeann ar sheachadtaí go leanúnach.
An chúis ar díchumasaíodh an crúca gréasáin. Féach Fógraí teipe.
null
fad atá sé cumasaithe.Pointe ama ISO 8601 UTC nuair a thosaigh an tsraith teipeanna reatha.
null nuair a d’éirigh leis an seachadadh deireanach.Pointe ama ISO 8601 UTC nuair a scoireann an rún roimhe seo de shíniú.
null nuair nach bhfuil aon rothlú ar siúl.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 é. |
500 | Earráid inmheánach freastalaí. |
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"
}